donb-hf commited on
Commit
79605da
1 Parent(s): 270aac5

update functions

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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=detect_brain_tumor_owlv2,
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=detect_brain_tumor_dino,
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=detect_brain_tumor_florence2,
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
  )