Download deploy/start.sh from rfannn/test: direct link, hf CLI and curl.
- Browser
- Download file 183 Bytes
-
https://huggingface.co/spaces/rfannn/test/resolve/main/deploy/start.sh
- Command line
-
hf download hf://spaces/rfannn/test/deploy/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/rfannn/test/resolve/main/deploy/start.sh
183 Bytes
| cd "$(dirname "$0")/.." | |
| source venv/bin/activate | |
| nohup uvicorn main:app --host 127.0.0.1 --port 8001 --workers 1 > bot.log 2>&1 & | |
| echo "Bot started on port 8001, PID: $!" | |