Spaces:
Sleeping
Sleeping
Download start.cmd from cpuai/minecraft-file-converter: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/spaces/cpuai/minecraft-file-converter/resolve/main/start.cmd
- Command line
-
hf download hf://spaces/cpuai/minecraft-file-converter/start.cmd
-
curl -L -o start.cmd https://huggingface.co/spaces/cpuai/minecraft-file-converter/resolve/main/start.cmd
317 Bytes
| @echo off | |
| cd /d "%~dp0" | |
| if not exist .venv\Scripts\python.exe py -3.12 -m venv .venv | |
| if errorlevel 1 exit /b 1 | |
| .venv\Scripts\python.exe -m pip install -r requirements.txt | |
| if errorlevel 1 exit /b 1 | |
| start "" http://127.0.0.1:7860 | |
| .venv\Scripts\python.exe -m uvicorn app:app --host 0.0.0.0 --port 7860 --workers 1 | |
| pause | |