Spaces:
Running
Running
Download processor/deploy.bat from Stouching-Robotics/DataFlowing: direct link, hf CLI and curl.
- Browser
- Download file 997 Bytes
-
https://huggingface.co/spaces/Stouching-Robotics/DataFlowing/resolve/main/processor/deploy.bat
- Command line
-
hf download hf://spaces/Stouching-Robotics/DataFlowing/processor/deploy.bat
-
curl -L -o deploy.bat https://huggingface.co/spaces/Stouching-Robotics/DataFlowing/resolve/main/processor/deploy.bat
997 Bytes
| @echo off | |
| rem One-click deploy/start entry (Windows). Double-click = full deploy. | |
| rem Use "deploy.bat --check-only" for a check-only run. | |
| rem Shared cross-platform logic lives in deploy.py. | |
| rem Keep this file ASCII-only: cmd.exe parses .bat in the OEM codepage. | |
| setlocal EnableExtensions EnableDelayedExpansion | |
| cd /d "%~dp0" | |
| set "EXIT_CODE=1" | |
| where py >nul 2>nul | |
| if not errorlevel 1 ( | |
| py -3.12 -c "pass" >nul 2>nul | |
| if not errorlevel 1 ( | |
| py -3.12 deploy.py %* | |
| set "EXIT_CODE=!ERRORLEVEL!" | |
| goto :finish | |
| ) | |
| py -3 -c "pass" >nul 2>nul | |
| if not errorlevel 1 ( | |
| py -3 deploy.py %* | |
| set "EXIT_CODE=!ERRORLEVEL!" | |
| goto :finish | |
| ) | |
| ) | |
| where python >nul 2>nul | |
| if not errorlevel 1 ( | |
| python deploy.py %* | |
| set "EXIT_CODE=!ERRORLEVEL!" | |
| goto :finish | |
| ) | |
| python3 deploy.py %* | |
| set "EXIT_CODE=!ERRORLEVEL!" | |
| :finish | |
| echo. | |
| echo ============================== | |
| echo Deploy finished. Press any key to close. | |
| echo ============================== | |
| pause >nul | |
| endlocal & exit /b %EXIT_CODE% | |