pip install -r requirements.txt
pip install "fastapi[all]"
python main.py
uvicorn main:app --reload
http://127.0.0.1:8000 or http://0.0.0.0:80/response
Use test_fastapi.ipynb
docker build -t llm-app .
docker run -d -p 8080:80 llm-app
Use test_fastapi.ipynb