Spaces:
Running
on
Zero
Running
on
Zero
VictorSanh
commited on
Commit
•
671ee52
1
Parent(s):
0d08595
rty
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def install_playwright():
|
|
22 |
try:
|
23 |
subprocess.run(["playwright", "install"], check=True)
|
24 |
print("Playwright installation successful.")
|
25 |
-
subprocess.run(["sudo", "playwright", "install-deps"])
|
26 |
print("Playwright deps installation successful.")
|
27 |
except subprocess.CalledProcessError as e:
|
28 |
print(f"Error during Playwright installation: {e}")
|
|
|
22 |
try:
|
23 |
subprocess.run(["playwright", "install"], check=True)
|
24 |
print("Playwright installation successful.")
|
25 |
+
subprocess.run(["sudo", "playwright", "install-deps"], check=True)
|
26 |
print("Playwright deps installation successful.")
|
27 |
except subprocess.CalledProcessError as e:
|
28 |
print(f"Error during Playwright installation: {e}")
|