-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add web folder and the web app for Covid-19 Q&A #6
Conversation
web/index.html
Outdated
} | ||
} | ||
}; | ||
xmlhttp.open("POST", "http://0.0.0.0:80/register", true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this the url of the service on singa-auto?
make it as an input box to be set manually on the webpage.
once we launch the service on singa-auto, we can then paste the url to the box instead of changing the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok fixed
web/index.html
Outdated
</head> | ||
<body> | ||
<nav class="navbar navbar-expand navbar-light bg-light flex-column flex-md-row pipe-navbar justify-md-content-between"> | ||
<a class="navbar-brand" href="/"><img src="images/nus-logo.svg" width="66" height="30" class="d-inline-block" /> COVID-19 Question Answering engine</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we just add the link to nus logo instead of uploading the svg file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, done.
When this PR is completed and ready, can you deploy it at our server for verification or double checking? I will help to take a look of the deployed web. Thanks! |
the web app is up at http://panda.d2.comp.nus.edu.sg:8000/. Put the inference service endpoint at the "input url" box, it will generate response at the bottom of the page |
@delphieritas When your Q&A PR #18 is done, could you train it and and provide a inference job url for us to test the web app? |
@pinpom
In this case, only question_answering UI part is related to your PR. |
I put all my web files into ./web/tasks/question_answering folder. it won't be affected or affect any other files in the web folder, i think |
Thanks! |
Last time you modified the code (concerning hardcoding the question area), could you please deploy it again so @delphieritas can test? |
updated at the url http://panda.d2.comp.nus.edu.sg:8000/ |
SInce @arielclj need to combine her model zoo UI with this UI within the same build by YARN, I merge this PR first |
Add the web folder and the web app for Covid-19 Q&A