Download setup.bat from buggandhi/Orqanta-AI: direct link, hf CLI and curl.
- Browser
- Download file 668 Bytes
-
https://huggingface.co/buggandhi/Orqanta-AI/resolve/main/setup.bat
- Command line
-
hf download hf://buggandhi/Orqanta-AI/setup.bat
-
curl -L -o setup.bat https://huggingface.co/buggandhi/Orqanta-AI/resolve/main/setup.bat
668 Bytes
| @echo off | |
| set VENV_DIR=.venv | |
| set PYTHON_CMD= | |
| py -c "import sys; sys.exit(0 if sys.version_info >= (3, 9) else 1)" >nul 2>&1 | |
| if %errorlevel% == 0 ( | |
| set PYTHON_CMD=py | |
| ) else ( | |
| python -c "import sys; sys.exit(0 if sys.version_info >= (3, 9) else 1)" >nul 2>&1 | |
| if %errorlevel% == 0 set PYTHON_CMD=python | |
| ) | |
| if "%PYTHON_CMD%"=="" ( | |
| echo Python ^>= 3.9 is required. Install it from https://www.python.org/ | |
| exit /b 1 | |
| ) | |
| if not exist "%VENV_DIR%\Scripts\python.exe" %PYTHON_CMD% -m venv "%VENV_DIR%" | |
| call "%VENV_DIR%\Scripts\activate.bat" | |
| python -m pip install --upgrade pip -q | |
| python -m pip install -e ".[train,mic]" -q | |
| python -m orqanta_ai.cli --help | |