Download start.sh from iouoracle/newapi: direct link, hf CLI and curl.
- Browser
- Download file 159 Bytes
-
https://huggingface.co/spaces/iouoracle/newapi/resolve/main/start.sh
- Command line
-
hf download hf://spaces/iouoracle/newapi/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/iouoracle/newapi/resolve/main/start.sh
159 Bytes
| # 启动 cloudflared tunnel | |
| cloudflared tunnel --no-autoupdate run --token $CF_TOKEN & | |
| # 启动 nginx 和 one-api | |
| /one-api & | |
| nginx -g "daemon off;" | |