Commit
·
4b8db66
1
Parent(s):
e224bb7
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", "
|
| 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.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 |
)
|