quoc-khanh commited on
Commit
7071c81
·
verified ·
1 Parent(s): c104d72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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
- if not os.path.exists('/home/user/.cache/ms-playwright/'):
111
- print("Installing Playwright...")
112
- os.system("playwright install --with-deps")
 
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()