Bapt120 commited on
Commit
4a95277
·
verified ·
1 Parent(s): 4b61d09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -182,8 +182,8 @@ def clean_output_text(text):
182
  return cleaned
183
 
184
 
185
- # Bbox parsing pattern: ![image](image_N.png) x1,y1,x2,y2
186
- BBOX_PATTERN = r'!\[image\]\((image_\d+\.png)\)\s+(\d+),(\d+),(\d+),(\d+)'
187
 
188
 
189
  def parse_bbox_output(text):
 
182
  return cleaned
183
 
184
 
185
+ # Bbox parsing pattern: ![image](image_N.png)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):