Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amine759/qa-web-app
https://github.com/amine759/qa-web-app
heroku natural-language-processing question-answering
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/amine759/qa-web-app
- Owner: amine759
- Created: 2022-10-21T11:07:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-17T12:23:23.000Z (about 2 years ago)
- Last Synced: 2024-11-15T05:12:05.200Z (2 months ago)
- Topics: heroku, natural-language-processing, question-answering
- Language: CSS
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# General Question Answering web application
##### Model used : deepset/electra-base-squad2
##### Extractive QA : predicting answer from a given context
## To run :
First, make sure heroku CLI is installed in your device [install heroku](https://devcenter.heroku.com/articles/getting-started-with-python)```shell
git clone https://github.com/amine759/QA-Web-App.git
cd QA-Web-App/
```
### To run the app with heroku :
```shell
heroku create
git push heroku main
```
The app contains in the root directory a Procfile like this :
```shell
web: python app.py
```
This way you declare what command should be executed to start the app.
if you are running on windows you need an additionnal Procfile.windows for details (cz I'm lazy) check out [Procfile on windows](https://devcenter.heroku.com/articles/getting-started-with-python#define-a-procfile)Activate virtual environment and install dependencies :
```shell
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```
Now you must be ready to run the app locally :
```shell
heroku local
```