Fred808 commited on
Commit
1ae82d0
·
verified ·
1 Parent(s): ad58ee5

Upload start_server.sh

Browse files
Files changed (1) hide show
  1. 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