Support PLAYWRIGHT_WS_URI

This commit is contained in:
Rory committed 2025-02-02 17:58:09 -06:00
1 parent a84e488a4e
commit 8da33721d5
5 files changed
+97 -48

No files matched your search

+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')"
)