This is the code for Ponder App's Backend. The backend is written in python and we have used Flask for providing the API endpoints.
Steps to start backend :
- Create a virtual environment.
python -m venv env
- Activate virtual environment.
source env/bin/activate
- Install requirements.
pip install -r requirements.txt
- Run app.py.
python app.py
To use this locally hosted runtime in the Ponder App, we used ngrok
and changed the corresponding URL in Ponder-Frontend
to include this URL.
- question_generation, for Neural question generating using transformers