Download run.sh from radames/nginx-gradio-reverse-proxy: direct link, hf CLI and curl.
- Browser
- Download file 212 Bytes
-
https://huggingface.co/spaces/radames/nginx-gradio-reverse-proxy/resolve/main/run.sh
- Command line
-
hf download hf://spaces/radames/nginx-gradio-reverse-proxy/run.sh
-
curl -L -o run.sh https://huggingface.co/spaces/radames/nginx-gradio-reverse-proxy/resolve/main/run.sh
212 Bytes
| service nginx start | |
| python -m http.server --directory ./static --bind 0.0.0.0 8000 & echo $! > http_server.pid | |
| uvicorn "app:app" --port 7860 --host 0.0.0.0 | |
| pkill -F http_server.pid | |
| rm http_server.pid |