Update start.sh
Browse files
start.sh
CHANGED
|
@@ -18,4 +18,4 @@ echo " CHROME_BIN=${CHROME_BIN:-/usr/bin/chromium}"
|
|
| 18 |
|
| 19 |
# Start uvicorn pointing at your module (perchance_server.py -> app)
|
| 20 |
# Use 1 worker in Spaces; adjust if you understand the environment.
|
| 21 |
-
exec uvicorn
|
|
|
|
| 18 |
|
| 19 |
# Start uvicorn pointing at your module (perchance_server.py -> app)
|
| 20 |
# Use 1 worker in Spaces; adjust if you understand the environment.
|
| 21 |
+
exec uvicorn server:app --host 0.0.0.0 --port "${PORT}" --workers 1 --log-level info
|