Commit
·
e1c3063
1
Parent(s):
4b8db66
Update app.py
Browse files
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.
|
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 |
)
|