Support PLAYWRIGHT_WS_URI

This commit is contained in:
Rory
2025-02-02 17:58:09 -06:00
parent a84e488a4e
commit 8da33721d5
5 changed files with 97 additions and 48 deletions
+5 -3
View File
@@ -8,9 +8,11 @@ cd /d "%SCRIPT_DIR%" || exit /b
:: Add conditional Playwright browser installation
IF /I "%RAG_WEB_LOADER%" == "playwright" (
echo Installing Playwright browsers...
playwright install chromium
playwright install-deps chromium
IF "%PLAYWRIGHT_WS_URI%" == "" (
echo Installing Playwright browsers...
playwright install chromium
playwright install-deps chromium
)
python -c "import nltk; nltk.download('punkt_tab')"
)