Sathvik-kota commited on
Commit
697c839
·
verified ·
1 Parent(s): b4c9981

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. start.sh +8 -0
start.sh ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ # HF Spaces provides $PORT; default to 7860 if not present
5
+ PORT=${PORT:-7860}
6
+
7
+ echo "Starting FastAPI app on port ${PORT}..."
8
+ uvicorn app:app --host 0.0.0.0 --port "${PORT}"