Spaces:
Paused
Paused
Upload start_server.sh
Browse files- start_server.sh +4 -0
start_server.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# Start the FastAPI server with the model path as an environment variable
|
| 3 |
+
export MODEL_PATH="models/model000475000.pt"
|
| 4 |
+
exec uvicorn app:app --host 0.0.0.0 --port 7860
|