Download start.bat from lin7zhi/2api: direct link, hf CLI and curl.
- Browser
- Download file 186 Bytes
-
https://huggingface.co/spaces/lin7zhi/2api/resolve/main/start.bat
- Command line
-
hf download hf://spaces/lin7zhi/2api/start.bat
-
curl -L -o start.bat https://huggingface.co/spaces/lin7zhi/2api/resolve/main/start.bat
186 Bytes
| git fetch --all | |
| for /f "delims=" %%b in ('git rev-parse --abbrev-ref HEAD') do set branch=%%b | |
| git reset --hard origin/%branch% | |
| uv sync | |
| call .venv\Scripts\activate.bat | |
| python web.py | |
| pause |