Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -107,7 +107,8 @@ with gr.Blocks() as demo:
|
|
| 107 |
|
| 108 |
if __name__ == "__main__":
|
| 109 |
os.environ["USER_AGENT"] = "gradio-hf-space"
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
|
|
|
| 113 |
demo.launch()
|
|
|
|
| 107 |
|
| 108 |
if __name__ == "__main__":
|
| 109 |
os.environ["USER_AGENT"] = "gradio-hf-space"
|
| 110 |
+
os.system("playwright install")
|
| 111 |
+
# if not os.path.exists('/home/user/.cache/ms-playwright/'):
|
| 112 |
+
# print("Installing Playwright...")
|
| 113 |
+
# os.system("playwright install --with-deps")
|
| 114 |
demo.launch()
|