Spaces:
Runtime error
Runtime error
| # Docker run to start run demo app for traffic_monitoring demo | |
| read -p "Please enter your container name, for example 'cc-demo': " name | |
| read -p "Please enter your data directory path, for example /data/cc-demo/: " data | |
| read -p "Please enter your public port, for example 8585: " pubport | |
| docker run --name $name --shm-size=8g --gpus all --rm -it \ | |
| -p $pubport:7860 \ | |
| -v $data:/data \ | |
| -v $(pwd):/root/workspace/cc-demo \ | |
| -w /root/workspace/cc-demo \ | |
| cybercorecloud/cc-demo:v2.1 /bin/bash -c "cd projects && gradio human_detection/demo_app.py" |