Auto-commit: OCR workflow improvements, performance optimizations, and bug fixes
This commit is contained in:
37
zcompile.bat
37
zcompile.bat
@@ -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 ========================================
|
||||
|
||||
Reference in New Issue
Block a user