Download chatbot/model_servers/object_detection_python/src/run.sh from jaothan/podman: direct link, hf CLI and curl.
- Browser
- Download file 223 Bytes
-
https://huggingface.co/spaces/jaothan/podman/resolve/main/chatbot/model_servers/object_detection_python/src/run.sh
- Command line
-
hf download hf://spaces/jaothan/podman/chatbot/model_servers/object_detection_python/src/run.sh
-
curl -L -o run.sh https://huggingface.co/spaces/jaothan/podman/resolve/main/chatbot/model_servers/object_detection_python/src/run.sh
223 Bytes
| if [ ${MODEL_PATH} ]; then | |
| PORT=${PORT} MODEL_PATH=${MODEL_PATH} uvicorn object_detection_server:app --port ${PORT:=8000} --host ${HOST:=0.0.0.0} | |
| exit 0 | |
| fi | |
| echo "Please set either a MODEL_PATH" | |
| exit 1 | |