txt2motion / start_server.sh
Fred808's picture
Upload start_server.sh
1ae82d0 verified
#!/bin/bash
# Start the FastAPI server with the model path as an environment variable
export MODEL_PATH="models/model000475000.pt"
exec uvicorn app:app --host 0.0.0.0 --port 7860