Download start.sh from wuhp/bbscanner: direct link, hf CLI and curl.
- Browser
- Download file 337 Bytes
-
https://huggingface.co/spaces/wuhp/bbscanner/resolve/main/start.sh
- Command line
-
hf download hf://spaces/wuhp/bbscanner/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/wuhp/bbscanner/resolve/main/start.sh
337 Bytes
| set -eu | |
| export ZAP_API_KEY="$(python3 -c 'import secrets; print(secrets.token_urlsafe(36))')" | |
| /zap/zap.sh -daemon -host 127.0.0.1 -port 8090 -config "api.key=${ZAP_API_KEY}" -config api.addrs.addr.name=127.0.0.1 -config api.addrs.addr.regex=false > /tmp/asfb-zap.log 2>&1 & | |
| exec uvicorn app.main:app --host 0.0.0.0 --port 7860 | |