Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,7 @@ import json
|
|
| 8 |
|
| 9 |
# Install playwright if not present
|
| 10 |
if os.getenv("PLAYWRIGHT_INSTALL_RUN", "false").lower() != "true":
|
|
|
|
| 11 |
os.system("playwright install")
|
| 12 |
os.environ["PLAYWRIGHT_INSTALL_RUN"] = "true"
|
| 13 |
|
|
|
|
| 8 |
|
| 9 |
# Install playwright if not present
|
| 10 |
if os.getenv("PLAYWRIGHT_INSTALL_RUN", "false").lower() != "true":
|
| 11 |
+
os.system("playwright install-deps")
|
| 12 |
os.system("playwright install")
|
| 13 |
os.environ["PLAYWRIGHT_INSTALL_RUN"] = "true"
|
| 14 |
|