Spaces:
Running
Running
update functions
Browse files
app.py
CHANGED
@@ -202,7 +202,7 @@ with gr.Blocks(theme="sudeepshouche/minimalist") as demo:
|
|
202 |
annotated_image
|
203 |
]
|
204 |
seg_btn.click(
|
205 |
-
fn=
|
206 |
inputs=seg_inputs,
|
207 |
outputs=seg_outputs,
|
208 |
)
|
@@ -237,7 +237,7 @@ with gr.Blocks(theme="sudeepshouche/minimalist") as demo:
|
|
237 |
annotated_image
|
238 |
]
|
239 |
seg_btn.click(
|
240 |
-
fn=
|
241 |
inputs=seg_inputs,
|
242 |
outputs=seg_outputs,
|
243 |
)
|
@@ -272,7 +272,7 @@ with gr.Blocks(theme="sudeepshouche/minimalist") as demo:
|
|
272 |
annotated_image
|
273 |
]
|
274 |
seg_btn.click(
|
275 |
-
fn=
|
276 |
inputs=seg_inputs,
|
277 |
outputs=seg_outputs,
|
278 |
)
|
|
|
202 |
annotated_image
|
203 |
]
|
204 |
seg_btn.click(
|
205 |
+
fn=detect_object_owlv2,
|
206 |
inputs=seg_inputs,
|
207 |
outputs=seg_outputs,
|
208 |
)
|
|
|
237 |
annotated_image
|
238 |
]
|
239 |
seg_btn.click(
|
240 |
+
fn=detect_object_dino,
|
241 |
inputs=seg_inputs,
|
242 |
outputs=seg_outputs,
|
243 |
)
|
|
|
272 |
annotated_image
|
273 |
]
|
274 |
seg_btn.click(
|
275 |
+
fn=detect_object_florence2,
|
276 |
inputs=seg_inputs,
|
277 |
outputs=seg_outputs,
|
278 |
)
|