JosephTK commited on
Commit
0d21a32
1 Parent(s): c93fc30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def detect(image):
63
 
64
  demo = gr.Interface(
65
  fn=detect,
66
- inputs=[gr.inputs.Image(show_label=False, type="pil")],
67
  outputs=[gr.Image(show_label=False), gr.BarPlot(show_label=False, x="label", y="counts", x_title="Labels", y_title="Counts", vertical=False), gr.Textbox(show_label=False)],
68
  title="Object Counts in Image"
69
  )
 
63
 
64
  demo = gr.Interface(
65
  fn=detect,
66
+ inputs=[gr.inputs.Image(label="Input image", type="pil")],
67
  outputs=[gr.Image(show_label=False), gr.BarPlot(show_label=False, x="label", y="counts", x_title="Labels", y_title="Counts", vertical=False), gr.Textbox(show_label=False)],
68
  title="Object Counts in Image"
69
  )