Download RUN_DEMO.bat from PureOne/AUREOLE-R-v3: direct link, hf CLI and curl.
- Browser
- Download file 373 Bytes
-
https://huggingface.co/PureOne/AUREOLE-R-v3/resolve/main/RUN_DEMO.bat
- Command line
-
hf download hf://PureOne/AUREOLE-R-v3/RUN_DEMO.bat
-
curl -L -o RUN_DEMO.bat https://huggingface.co/PureOne/AUREOLE-R-v3/resolve/main/RUN_DEMO.bat
373 Bytes
| @echo off | |
| setlocal | |
| cd /d "%~dp0" | |
| if exist .venv\Scripts\python.exe goto ready | |
| python -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 | |
| :ready | |
| set OPENBLAS_NUM_THREADS=2 | |
| set OMP_NUM_THREADS=2 | |
| .venv\Scripts\python.exe scripts\demo.py | |
| if errorlevel 1 exit /b 1 | |
| start "" demo_output\demo.png | |
| endlocal | |