Omnibus commited on
Commit
2dddd3e
1 Parent(s): eb79942

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -110,7 +110,8 @@ def run_script(chat: list, height: int, width: int, check_b,check_h,check_t,wait
110
  out=None
111
  is_url=True
112
  url=f'https://omnibus-snap.hf.space/?chat={chat}&__theme={check_t}'
113
-
 
114
  if is_url:
115
  options = webdriver.ChromeOptions()
116
  options.add_argument('--headless')
 
110
  out=None
111
  is_url=True
112
  url=f'https://omnibus-snap.hf.space/?chat={chat}&__theme={check_t}'
113
+ if wait_time>10000:
114
+ wait_time=10000
115
  if is_url:
116
  options = webdriver.ChromeOptions()
117
  options.add_argument('--headless')