Omnibus commited on
Commit
eeba5b6
1 Parent(s): 8c7ea49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -150,7 +150,7 @@ with gr.Blocks() as app:
150
  with gr.Column():
151
  inp = gr.Textbox(label="URL (must be Public)",lines=1)
152
  with gr.Row():
153
- wait_time=gr.Slider(30, 1200, value=30, label="Wait time", info="Wait for page to load. More data = Longer wait"),
154
  btn= gr.Button("Snapshot")
155
 
156
  with gr.Column():
@@ -167,5 +167,5 @@ with gr.Blocks() as app:
167
  outim = gr.Image()
168
  prev=gr.HTML()
169
  #load_btn.click(load_frame,inp,prev)
170
- btn.click(run_script,[inp,height,width,check_b,check_h,wait_time],[outim,message,outgal,out])
171
  app.queue(default_concurrency_limit=5).launch()
 
150
  with gr.Column():
151
  inp = gr.Textbox(label="URL (must be Public)",lines=1)
152
  with gr.Row():
153
+ wait_t=gr.Slider(30, 1200, value=120, label="Wait time", info="Wait for page to load. More data = Longer wait"),
154
  btn= gr.Button("Snapshot")
155
 
156
  with gr.Column():
 
167
  outim = gr.Image()
168
  prev=gr.HTML()
169
  #load_btn.click(load_frame,inp,prev)
170
+ btn.click(run_script,[inp,height,width,check_b,check_h,wait_t],[outim,message,outgal,out])
171
  app.queue(default_concurrency_limit=5).launch()