start_checker runs service from kit root via --app-dir; add diag.bat
This commit is contained in:
1 parent
366720c997
commit
5d2b7bfd9d
2 files changed
+24
-1
No files matched your search
@@ -1,9 +1,12 @@
|
||||
@echo off
|
||||
REM docchecker service + browser page: 127.0.0.1:8011
|
||||
cd /d %~dp0
|
||||
REM app.py lives in the kit root; online archive keeps it in the parent folder
|
||||
set "SRV=%~dp0"
|
||||
if not exist "%SRV%app.py" set "SRV=%~dp0.."
|
||||
set LT_URL=http://127.0.0.1:8010
|
||||
set LLM_BASE_URL=http://127.0.0.1:11434/v1
|
||||
set LLM_MODEL=qwen3-4b-instruct
|
||||
start "docchecker" venv\Scripts\python.exe -m uvicorn app:app --host 127.0.0.1 --port 8011
|
||||
start "docchecker" "%~dp0venv\Scripts\python.exe" -m uvicorn app:app --host 127.0.0.1 --port 8011 --app-dir "%SRV%"
|
||||
timeout /t 5 /nobreak >nul
|
||||
start http://127.0.0.1:8011
|
||||
Reference in new issue
Block a user