SIN-Deploy-Bot commited on
Commit
831de95
·
1 Parent(s): 89c19d9

fix: use uvicorn directly

Browse files
Files changed (1) hide show
  1. start.sh +3 -3
start.sh CHANGED
@@ -63,6 +63,6 @@ else
63
  echo "✅ GITHUB_TOKEN set"
64
  fi
65
 
66
- # Start the application
67
- echo "🎯 Starting application on port ${PORT:-7860}"
68
- exec python app.py
 
63
  echo "✅ GITHUB_TOKEN set"
64
  fi
65
 
66
+ # Start the application with uvicorn directly
67
+ echo "🎯 Starting uvicorn on port ${PORT:-7860}"
68
+ exec uvicorn app:app --host 0.0.0.0 --port ${PORT:-7860} --log-level info