tastypear commited on
Commit
3e36d09
1 Parent(s): c01506a

Update run.sh

Browse files
Files changed (1) hide show
  1. run.sh +1 -1
run.sh CHANGED
@@ -1,5 +1,5 @@
1
  #!/bin/bash
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
 
1
  #!/bin/bash
2
+ python -m http.server 7860 & kill $!
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