Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def yolov9_inference(img_path, model_path,image_size, conf_threshold, iou_thresh
|
|
38 |
|
39 |
|
40 |
inputs = [
|
41 |
-
gr.Image(label="Input Image"),
|
42 |
gr.Dropdown(
|
43 |
label="Model",
|
44 |
choices=[
|
@@ -54,7 +54,7 @@ inputs = [
|
|
54 |
gr.Slider(minimum=0.0, maximum=1.0, value=0.45, step=0.05, label="IOU Threshold"),
|
55 |
]
|
56 |
|
57 |
-
outputs = gr.Image(
|
58 |
title = "YOLOv9"
|
59 |
|
60 |
demo_app = gr.Interface(
|
|
|
38 |
|
39 |
|
40 |
inputs = [
|
41 |
+
gr.Image(type="filepath", label="Input Image"),
|
42 |
gr.Dropdown(
|
43 |
label="Model",
|
44 |
choices=[
|
|
|
54 |
gr.Slider(minimum=0.0, maximum=1.0, value=0.45, step=0.05, label="IOU Threshold"),
|
55 |
]
|
56 |
|
57 |
+
outputs = gr.Image(label="Output Image")
|
58 |
title = "YOLOv9"
|
59 |
|
60 |
demo_app = gr.Interface(
|