JosephTK commited on
Commit
6201740
·
1 Parent(s): 582c0ea

Update app.py

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