clone3 commited on
Commit
3b565a5
·
verified ·
1 Parent(s): 54fcf1c

Update run.sh

Browse files
Files changed (1) hide show
  1. run.sh +1 -0
run.sh CHANGED
@@ -2,6 +2,7 @@
2
 
3
  service nginx start
4
  python -m http.server --directory ./static --bind 0.0.0.0 8000 & echo $! > http_server.pid
 
5
  uvicorn "app:app" --port 7860 --host 0.0.0.0
6
  pkill -F http_server.pid
7
  rm http_server.pid
 
2
 
3
  service nginx start
4
  python -m http.server --directory ./static --bind 0.0.0.0 8000 & echo $! > http_server.pid
5
+ python -m http.server --directory ./web --bind 0.0.0.0 7777 & echo $! > http_server.pid
6
  uvicorn "app:app" --port 7860 --host 0.0.0.0
7
  pkill -F http_server.pid
8
  rm http_server.pid