gpbhupinder commited on
Commit
9e0e2ae
·
verified ·
1 Parent(s): 1a0acc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -28,15 +28,15 @@ iface = gr.Interface(
28
  fn=predict_image,
29
  inputs=[
30
  gr.Image(type="pil", label="Upload Image"),
31
- gr.Slider(minimum=0, maximum=1, value=0.25, label="Confidence threshold"),
32
- gr.Slider(minimum=0, maximum=1, value=0.45, label="IoU threshold"),
33
  ],
34
  outputs=gr.Image(type="pil", label="Result"),
35
- title="Ultralytics Gradio",
36
- description="Upload images for inference. The Ultralytics YOLOv8n model is used by default.",
37
  examples=[
38
- [ASSETS / "bus.jpg", 0.25, 0.45],
39
- [ASSETS / "zidane.jpg", 0.25, 0.45],
40
  ],
41
  )
42
 
 
28
  fn=predict_image,
29
  inputs=[
30
  gr.Image(type="pil", label="Upload Image"),
31
+ # gr.Slider(minimum=0, maximum=1, value=0.25, label="Confidence threshold"),
32
+ # gr.Slider(minimum=0, maximum=1, value=0.45, label="IoU threshold"),
33
  ],
34
  outputs=gr.Image(type="pil", label="Result"),
35
+ title="GP Wolf Classifier",
36
+ description="Upload images for inference.",
37
  examples=[
38
+ [ASSETS / "gp.jpg", 0.25, 0.45],
39
+ [ASSETS / "wolf.jpg", 0.25, 0.45],
40
  ],
41
  )
42