Update run.sh
Browse files
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
|
|
|
|
|
|
| 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
|