Auto-commit: OCR workflow improvements, performance optimizations, and bug fixes

This commit is contained in:
2026-01-11 18:21:16 +08:00
parent 642dd0ea5f
commit 1ddd49f913
97 changed files with 5909 additions and 451 deletions

View File

@@ -26,20 +26,45 @@ if errorlevel 1 (
echo spaCy model already installed
)
:: Verify GPU support
:: Verify GPU support - skip if script missing
echo.
echo Step 3: Verifying GPU support...
python verify_gpu_support.py
if exist verify_gpu_support.py (
python verify_gpu_support.py
) else (
echo Skipping GPU verification (script not found)
)
:: Test database connections
:: Test database connections - skip if script missing
echo.
echo Step 4: Testing database connections...
python test_database_connections.py
if exist test_database_connections.py (
python test_database_connections.py
) else (
echo Skipping database connection test (script not found)
)
:: Run quick system test
:: Run quick system test - skip if script missing
echo.
echo Step 5: Running system validation...
python simple_production_test.py
if exist simple_production_test.py (
python simple_production_test.py
) else (
echo Skipping system validation (script not found)
)
:: Step 6: Build web UI
echo.
echo Step 6: Building web UI...
if exist "LightRAG-main\lightrag_webui\package.json" (
cd LightRAG-main\lightrag_webui
echo Using npm to build web UI...
call npm run build-no-bun
cd ..\..
echo Web UI build completed.
) else (
echo Web UI source not found, using pre-built assets.
)
echo.
echo ========================================