donb-hf commited on
Commit
b485212
·
1 Parent(s): 2c18c1f

fix interface

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ def detect_brain_tumor_florence2(image, seg_input, debug: bool = True):
140
 
141
  # Step 2: Detect brain tumor using florencev2 - NO PROMPT
142
  prompt = "detect brain tumor"
143
- detections = florencev2_object_detection(prompt)
144
 
145
  # Step 3: Overlay bounding boxes on the image
146
  image_with_bboxes = overlay_bounding_boxes(image, detections)
 
140
 
141
  # Step 2: Detect brain tumor using florencev2 - NO PROMPT
142
  prompt = "detect brain tumor"
143
+ detections = florencev2_object_detection(image)
144
 
145
  # Step 3: Overlay bounding boxes on the image
146
  image_with_bboxes = overlay_bounding_boxes(image, detections)