Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -182,8 +182,8 @@ def clean_output_text(text):
|
|
| 182 |
return cleaned
|
| 183 |
|
| 184 |
|
| 185 |
-
# Bbox parsing pattern: 
|
| 186 |
-
BBOX_PATTERN = r'!\[image\]\((image_\d+\.png)\)\s
|
| 187 |
|
| 188 |
|
| 189 |
def parse_bbox_output(text):
|
|
|
|
| 182 |
return cleaned
|
| 183 |
|
| 184 |
|
| 185 |
+
# Bbox parsing pattern: x1,y1,x2,y2 (no space between)
|
| 186 |
+
BBOX_PATTERN = r'!\[image\]\((image_\d+\.png)\)\s*(\d+),(\d+),(\d+),(\d+)'
|
| 187 |
|
| 188 |
|
| 189 |
def parse_bbox_output(text):
|