MadhurGarg commited on
Commit
51c53b9
·
1 Parent(s): bf50109

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -115,10 +115,10 @@ demo = gr.Interface(
115
  fn=yolo_predict,
116
  inputs=[
117
  gr.Image(shape=(config.IMAGE_SIZE,config.IMAGE_SIZE), label="Input Image"),
118
- gr.Slider(0, 1, value=0.8, step=0.05, label="IOU Threshold"),
119
- gr.Slider(0, 1, value=0.8, step=0.05, label="Threshold")
120
  ],
121
- outputs=[gr.Gallery(label="Output Image", columns=1, rows=1)],
122
  examples=[
123
  ["examples/000001.jpg", 0.75, 0.75],
124
  ["examples/000002.jpg", 0.75, 0.75],
 
115
  fn=yolo_predict,
116
  inputs=[
117
  gr.Image(shape=(config.IMAGE_SIZE,config.IMAGE_SIZE), label="Input Image"),
118
+ gr.Slider(0, 1, value=0.75, step=0.05, label="IOU Threshold"),
119
+ gr.Slider(0, 1, value=0.75, step=0.05, label="Threshold")
120
  ],
121
+ outputs=gr.Image(label="Prediction"),
122
  examples=[
123
  ["examples/000001.jpg", 0.75, 0.75],
124
  ["examples/000002.jpg", 0.75, 0.75],