Spaces:
Runtime error
Runtime error
Download start-face-api.bat from Vinthushan21/face-api: direct link, hf CLI and curl.
- Browser
- Download file 275 Bytes
-
https://huggingface.co/spaces/Vinthushan21/face-api/resolve/main/start-face-api.bat
- Command line
-
hf download hf://spaces/Vinthushan21/face-api/start-face-api.bat
-
curl -L -o start-face-api.bat https://huggingface.co/spaces/Vinthushan21/face-api/resolve/main/start-face-api.bat
275 Bytes
| @echo off | |
| echo Starting Face API server... | |
| cd /d "%~dp0" | |
| if not exist "venv\Scripts\python.exe" ( | |
| echo Virtual environment not found. Please run set up first. | |
| pause | |
| exit /b | |
| ) | |
| "venv\Scripts\python.exe" -m uvicorn main:app --reload --host 0.0.0.0 --port 8000 | |
| pause | |