Dricz commited on
Commit
5eff273
1 Parent(s): ef3f73c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -120,7 +120,9 @@ examples = [[im1, 640, 0.3, 0.6],
120
  ]
121
 
122
 
 
123
 
 
124
 
125
- iface = gr.Interface(fn=response2, inputs=inputs, outputs=outputs, examples=examples)
126
  iface.launch()
 
120
  ]
121
 
122
 
123
+ title = 'Weapon Detection Finetuned'
124
 
125
+ description = 'Image Size: Defines the image size for inference.\nConfidence Treshold: Sets the minimum confidence threshold for detections.\nIOU Treshold: Intersection Over Union (IoU) threshold for Non-Maximum Suppression (NMS). Useful for reducing duplicates.'
126
 
127
+ iface = gr.Interface(fn=response2, inputs=inputs, outputs=outputs, examples=examples, title=title, description=description)
128
  iface.launch()