Spaces:
Runtime error
Runtime error
Zengyf-CVer
commited on
Commit
·
8c68295
1
Parent(s):
65fff86
v03 update
Browse files
app.py
CHANGED
@@ -323,7 +323,7 @@ def main(args):
|
|
323 |
inputs_size = gr.Radio(choices=[320, 640, 1280], value=inference_size, label="inference size")
|
324 |
input_conf = gr.Slider(0, 1, step=slider_step, value=nms_conf, label="confidence threshold")
|
325 |
inputs_iou = gr.Slider(0, 1, step=slider_step, value=nms_iou, label="IoU threshold")
|
326 |
-
inputs_maxnum = gr.
|
327 |
inputs_clsName = gr.CheckboxGroup(choices=model_cls_name, value=model_cls_name, type="index", label="category")
|
328 |
inputs_opt = gr.CheckboxGroup(choices=["label", "pdf", "json"],
|
329 |
value=["label", "pdf"],
|
|
|
323 |
inputs_size = gr.Radio(choices=[320, 640, 1280], value=inference_size, label="inference size")
|
324 |
input_conf = gr.Slider(0, 1, step=slider_step, value=nms_conf, label="confidence threshold")
|
325 |
inputs_iou = gr.Slider(0, 1, step=slider_step, value=nms_iou, label="IoU threshold")
|
326 |
+
inputs_maxnum = gr.Number(value=max_detnum, label="Maximum number of detections")
|
327 |
inputs_clsName = gr.CheckboxGroup(choices=model_cls_name, value=model_cls_name, type="index", label="category")
|
328 |
inputs_opt = gr.CheckboxGroup(choices=["label", "pdf", "json"],
|
329 |
value=["label", "pdf"],
|