Spaces:
Sleeping
Sleeping
SIN-Deploy-Bot commited on
Commit ·
831de95
1
Parent(s): 89c19d9
fix: use uvicorn directly
Browse files
start.sh
CHANGED
|
@@ -63,6 +63,6 @@ else
|
|
| 63 |
echo "✅ GITHUB_TOKEN set"
|
| 64 |
fi
|
| 65 |
|
| 66 |
-
# Start the application
|
| 67 |
-
echo "🎯 Starting
|
| 68 |
-
exec
|
|
|
|
| 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
|