This repo is used to make RapGenerator_GPT2 to be user-interactive.
- React + Docker
docker build -t frontend .
docker run -d -p 3100:80 frontend
- Flask + Gunicorn
pip install -r requirements.txt
pip install gunicorn
gunicorn app:app -w 3 -b 0.0.0.0:8000 --timeout=400
Note: most of backend codes are consistent with my RapGenerator_GPT2 repo. If you want to dig deeper, please also check that repo.