amit0987 commited on
Commit
6cde2cf
·
verified ·
1 Parent(s): 305680d

Update selimium_try.py

Browse files
Files changed (1) hide show
  1. selimium_try.py +2 -1
selimium_try.py CHANGED
@@ -70,7 +70,8 @@ def login_to_youtube(page):
70
 
71
  def main():
72
  with sync_playwright() as p:
73
- browser = p.chromium.launch(headless=False, args=["--no-sandbox"]) # Use --no-sandbox for Hugging Face Spaces
 
74
  context = browser.new_context()
75
  page = context.new_page()
76
 
 
70
 
71
  def main():
72
  with sync_playwright() as p:
73
+ browser = p.chromium.launch(headless=False,
74
+ executable_path="/home/user/.cache/ms-playwright/chromium/chrome-linux/chrome", args=["--no-sandbox"]) # Use --no-sandbox for Hugging Face Spaces
75
  context = browser.new_context()
76
  page = context.new_page()
77