Spaces:
Sleeping
Sleeping
Download startup.sh from FC-Bit/arkanum: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/spaces/FC-Bit/arkanum/resolve/main/startup.sh
- Command line
-
hf download hf://spaces/FC-Bit/arkanum/startup.sh
-
curl -L -o startup.sh https://huggingface.co/spaces/FC-Bit/arkanum/resolve/main/startup.sh
420 Bytes
| # Azure App Service Startup Script | |
| export PYTHONPATH=/home/site/wwwroot | |
| cd /home/site/wwwroot | |
| # gunicorn mit uvicorn worker starten | |
| # Index wird automatisch beim App-Start gebaut (siehe src/api.py lifespan) | |
| exec gunicorn \ | |
| --worker-class uvicorn.workers.UvicornWorker \ | |
| --bind 0.0.0.0:8000 \ | |
| --workers 2 \ | |
| --timeout 600 \ | |
| --access-logfile '-' \ | |
| --error-logfile '-' \ | |
| src.api:app | |