sc-api / start.sh
Tanxshh's picture
Update start.sh
1efa90a verified
raw
history blame contribute delete
224 Bytes
#!/bin/bash
# Install requirements
pip install -r requirements.txt
# Run FastAPI app with uvicorn on the port Hugging Face expects
# Hugging Face sets $PORT automatically
uvicorn app:app --host 0.0.0.0 --port ${PORT:-7860}