Subh775 commited on
Commit
0838c6b
·
verified ·
1 Parent(s): b9b6c24

Create start.sh

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 -euo pipefail
3
+
4
+ # ensure checkpoint directory exists; model will auto-download in app init if missing
5
+ mkdir -p /tmp
6
+
7
+ # run app
8
+ exec gunicorn --bind 0.0.0.0:7860 --workers 1 --threads 4 --timeout 120 app:app