ShazaAly commited on
Commit
1fc0951
·
verified ·
1 Parent(s): 171dc7f

Update run.sh

Browse files
Files changed (1) hide show
  1. run.sh +2 -1
run.sh CHANGED
@@ -8,4 +8,5 @@ export HF_HOME=/data
8
  mkdir -p $HF_HOME/hub
9
 
10
  # Now, start the FastAPI application
11
- uvicorn app:app --host 0.0.0.0 --port 7860
 
 
8
  mkdir -p $HF_HOME/hub
9
 
10
  # Now, start the FastAPI application
11
+ # Using exec means this script will be replaced by the uvicorn process, which is efficient.
12
+ exec uvicorn app:app --host 0.0.0.0 --port 7860