AdrielAmoguis commited on
Commit
e1c3063
·
1 Parent(s): 4b8db66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def snap(image, model, conf, iou):
38
 
39
  demo = gr.Interface(
40
  snap,
41
- [gr.Image(source="webcam", tool=None, streaming=True), gr.inputs.Radio(["M-Raw", "S-Raw", "N-Raw"]), gr.inputs.Slider(0.3, 1.0, "Classifier Confidence Threshold", value=0.6), gr.inputs.Slider(0.3, 1.0, "IoU Confidence Threshold", value=0.7)],
42
  ["image"],
43
  title="Baybayin Instance Detection"
44
  )
 
38
 
39
  demo = gr.Interface(
40
  snap,
41
+ [gr.Image(source="webcam", tool=None, streaming=True), gr.inputs.Radio(["M-Raw", "S-Raw", "N-Raw"]), gr.Slider(0, 1, value=0.6, label="Classifier Confidence Threshold"), gr.Slider(0, 1, value=0.7, label="IoU Threshold")],
42
  ["image"],
43
  title="Baybayin Instance Detection"
44
  )