Spaces:
Runtime error
Runtime error
fix interface
Browse files
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(
|
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)
|