Spaces:
Sleeping
Sleeping
Download run_agent.bat from minchun/II_SpectraEngine: direct link, hf CLI and curl.
- Browser
- Download file 620 Bytes
-
https://huggingface.co/spaces/minchun/II_SpectraEngine/resolve/main/run_agent.bat
- Command line
-
hf download hf://spaces/minchun/II_SpectraEngine/run_agent.bat
-
curl -L -o run_agent.bat https://huggingface.co/spaces/minchun/II_SpectraEngine/resolve/main/run_agent.bat
620 Bytes
| @echo off | |
| chcp 65001 >nul | |
| echo ============================================================ | |
| echo 重譯文本分析系統 AI Agent 啟動程式 | |
| echo ============================================================ | |
| echo. | |
| cd /d "%~dp0" | |
| echo [1/2] 安裝/確認相依套件... | |
| pip install -r requirements_agent.txt --quiet | |
| if %errorlevel% neq 0 ( | |
| echo [錯誤] 套件安裝失敗,請手動執行:pip install -r requirements_agent.txt | |
| pause | |
| exit /b 1 | |
| ) | |
| echo. | |
| echo [2/2] 啟動 Gradio 應用程式... | |
| echo 網址:http://localhost:7860 | |
| echo 按 Ctrl+C 停止服務 | |
| echo. | |
| python app_agent.py | |
| pause | |