Commit
·
a5fd6f1
1
Parent(s):
2cf5554
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def snap(image, model, conf, iou):
|
|
49 |
|
50 |
demo = gr.Interface(
|
51 |
snap,
|
52 |
-
[gr.Image(source="webcam", tool=None, streaming=True), gr.inputs.Radio(["M-Raw", "S-Raw", "N-Raw"]
|
53 |
["image"],
|
54 |
title="Baybayin Instance Detection"
|
55 |
)
|
|
|
49 |
|
50 |
demo = gr.Interface(
|
51 |
snap,
|
52 |
+
[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")],
|
53 |
["image"],
|
54 |
title="Baybayin Instance Detection"
|
55 |
)
|