Spaces:
Runtime error
Runtime error
VictorSanh
commited on
Commit
•
0d08595
1
Parent(s):
c497b41
lets try that
Browse files
app.py
CHANGED
@@ -22,6 +22,8 @@ def install_playwright():
|
|
22 |
try:
|
23 |
subprocess.run(["playwright", "install"], check=True)
|
24 |
print("Playwright installation successful.")
|
|
|
|
|
25 |
except subprocess.CalledProcessError as e:
|
26 |
print(f"Error during Playwright installation: {e}")
|
27 |
|
|
|
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}")
|
29 |
|