Download pi-test.bat from SaylorTwift/pi: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/SaylorTwift/pi/resolve/main/pi-test.bat
- Command line
-
hf download hf://SaylorTwift/pi/pi-test.bat
-
curl -L -o pi-test.bat https://huggingface.co/SaylorTwift/pi/resolve/main/pi-test.bat
352 Bytes
| @echo off | |
| setlocal | |
| set "SCRIPT_DIR=%~dp0" | |
| set "POWERSHELL_EXE=powershell.exe" | |
| where %POWERSHELL_EXE% >nul 2>nul | |
| if errorlevel 1 ( | |
| >&2 echo powershell.exe not found. Install PowerShell or run pi-test.ps1 directly. | |
| exit /b 1 | |
| ) | |
| %POWERSHELL_EXE% -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%pi-test.ps1" %* | |
| exit /b %ERRORLEVEL% | |