alessandro trinca tornidor commited on
Commit
3232df5
1 Parent(s): 34afd47

[doc] added an explanation about uvicorn problems

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -22,7 +22,10 @@ source venv/bin/activate
22
  # install the project dependencies
23
  python -m pip install pip --upgrade
24
  python -m pip install -r requirements.txt
25
- # execute the uvicorn webserver
 
 
 
26
  uvicorn app_gradio_fastapi.main:app --host 0.0.0.0 --port 7860 --reload
27
  ```
28
 
 
22
  # install the project dependencies
23
  python -m pip install pip --upgrade
24
  python -m pip install -r requirements.txt
25
+ # execute the uvicorn webserver. In case of problem try WITHOUT the absolute path or uvicorn could not find the module
26
+ # check that env $PATH contains the current virtualenv `venv/bin` folder
27
+ # also try using a relative path, e.g. `./venv/bin/uvicorn` or reinstalling the virtualenv
28
+ # fastapi==0.110.0, uvicorn==0.27.1
29
  uvicorn app_gradio_fastapi.main:app --host 0.0.0.0 --port 7860 --reload
30
  ```
31