igmarco commited on
Commit
7aa24d0
·
1 Parent(s): f2501db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,6 +38,6 @@ detection_threshold_slider = gr.inputs.Slider(minimum=0, maximum=1, step=0.1, de
38
 
39
  outputs = gr.outputs.Image(type="pil")
40
 
41
- gr_interface = gr.Interface(fn=show_preds, inputs=["image", display_chkbox_label, display_chkbox_box, detection_threshold_slider], outputs=outputs, examples=['raccoon1.jpg', 'raccoon2.jpg'])
42
 
43
  gr_interface.launch(inline=False, share=False, debug=True)
 
38
 
39
  outputs = gr.outputs.Image(type="pil")
40
 
41
+ gr_interface = gr.Interface(fn=show_preds, inputs=["image", display_chkbox_label, display_chkbox_box, detection_threshold_slider], outputs=outputs, examples=[['raccoon1.jpg', True, True, 0.5], ['raccoon2.jpg', True, True, 0.5]])
42
 
43
  gr_interface.launch(inline=False, share=False, debug=True)