Spaces:
Paused
Paused
Download deploy/start_server.sh from sampson119/agentpub: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/spaces/sampson119/agentpub/resolve/main/deploy/start_server.sh
- Command line
-
hf download hf://spaces/sampson119/agentpub/deploy/start_server.sh
-
curl -L -o start_server.sh https://huggingface.co/spaces/sampson119/agentpub/resolve/main/deploy/start_server.sh
317 Bytes
| # Start AgentPub uvicorn server detached. | |
| # Run as foreground: script exits immediately, uvicorn keeps running. | |
| cd /home/kali/agentpub | |
| source .venv/bin/activate | |
| setsid nohup uvicorn server.main:app --host 0.0.0.0 --port 7700 --log-level info >/home/kali/agentpub/nohup.out 2>&1 </dev/null & | |
| disown | |
| exit 0 | |