Spaces:
Paused
Paused
Download deploy/accident-analysis.service from whassan/SensorflowStudio: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/spaces/whassan/SensorflowStudio/resolve/main/deploy/accident-analysis.service
- Command line
-
hf download hf://spaces/whassan/SensorflowStudio/deploy/accident-analysis.service
-
curl -L -o accident-analysis.service https://huggingface.co/spaces/whassan/SensorflowStudio/resolve/main/deploy/accident-analysis.service
390 Bytes
| [Unit] | |
| Description=Accident Analysis Platform API | |
| After=network.target | |
| StartLimitIntervalSec=0 | |
| [Service] | |
| Type=simple | |
| User=sensorflow | |
| WorkingDirectory=/opt/sensorflow/analysis | |
| ExecStart=/opt/sensorflow/analysis/venv/bin/uvicorn main:app --host 127.0.0.1 --port 8002 --workers 4 | |
| Restart=always | |
| RestartSec=10 | |
| StandardOutput=journal | |
| StandardError=journal | |
| [Install] | |
| WantedBy=multi-user.target | |