fix: installation playwright
Browse files
webui.py
CHANGED
@@ -40,7 +40,7 @@ def _ensure_playwright():
|
|
40 |
# cheap when the browser is already present.
|
41 |
try:
|
42 |
subprocess.run(
|
43 |
-
["playwright", "install", "--with-deps", "chromium"],
|
44 |
check=True,
|
45 |
stdout=subprocess.DEVNULL,
|
46 |
stderr=subprocess.STDOUT,
|
|
|
40 |
# cheap when the browser is already present.
|
41 |
try:
|
42 |
subprocess.run(
|
43 |
+
[sys.executable, "-m", "playwright", "install", "--with-deps", "chromium"],
|
44 |
check=True,
|
45 |
stdout=subprocess.DEVNULL,
|
46 |
stderr=subprocess.STDOUT,
|