To run the file, simply download all the files provided above into a directory and on terminal run this command (note: must have uvicorn installed):
uvicorn main:app --reload
After that, open your favourite browser to the link [http://127.0.0.1:8000] and viola! Chat away.
- FastAPI (pip install fastapi)
- uvicorn (pip install uvicorn)
- Jinja2Templates (pip install jinja2)
- numpy (pip install numpy)
- pickle