Ankur Goyal commited on
Commit
6d0b7db
1 Parent(s): d207d63

Remove debug params

Browse files
Files changed (1) hide show
  1. app.py +11 -3
app.py CHANGED
@@ -288,8 +288,16 @@ with gr.Blocks(css=CSS) as demo:
288
  outputs=[image, document, question, output, example_image],
289
  )
290
 
291
- upload.change(fn=process_upload, inputs=[upload], outputs=[document, image, img_clear_button, output])
292
- url.change(fn=process_path, inputs=[url], outputs=[document, image, img_clear_button, output])
 
 
 
 
 
 
 
 
293
 
294
  question.submit(
295
  fn=process_question,
@@ -314,4 +322,4 @@ with gr.Blocks(css=CSS) as demo:
314
  )
315
 
316
  if __name__ == "__main__":
317
- demo.launch(debug=True, share=True)
 
288
  outputs=[image, document, question, output, example_image],
289
  )
290
 
291
+ upload.change(
292
+ fn=process_upload,
293
+ inputs=[upload],
294
+ outputs=[document, image, img_clear_button, output],
295
+ )
296
+ url.change(
297
+ fn=process_path,
298
+ inputs=[url],
299
+ outputs=[document, image, img_clear_button, output],
300
+ )
301
 
302
  question.submit(
303
  fn=process_question,
 
322
  )
323
 
324
  if __name__ == "__main__":
325
+ demo.launch()