Ankur Goyal commited on
Commit
66c9f11
1 Parent(s): 37a2f41

Fix the Get Button

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -352,7 +352,7 @@ with gr.Blocks(css=CSS) as demo:
352
  inputs=[upload],
353
  outputs=[document, image, img_clear_button, output, output_text],
354
  )
355
- url.change(
356
  fn=process_path,
357
  inputs=[url],
358
  outputs=[document, image, img_clear_button, output, output_text],
 
352
  inputs=[upload],
353
  outputs=[document, image, img_clear_button, output, output_text],
354
  )
355
+ submit.click(
356
  fn=process_path,
357
  inputs=[url],
358
  outputs=[document, image, img_clear_button, output, output_text],