gradio_with_fastapi / README.md
alessandro trinca tornidor
[feat] first commit: a working gradio app built on top of fastapi
0304edb
|
raw
history blame
441 Bytes

Run the app

  1. create and activate a virtual environment
  2. install the dependencies
  3. execute the uvicorn webserver
# create and activate a virtual environment
python3 -m venv venv
source venv/bin/activate
# install the project dependencies
python -m pip install pip --upgrade
python -m pip install -r requirements.txt
# execute the uvicorn webserver
uvicorn app_gradio_fastapi.main:app --host 0.0.0.0 --port 7860 --reload