wzzanthony7 commited on
Commit
dbc3265
·
verified ·
1 Parent(s): c7c7d90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ def generate_textual_description(box_info):
121
  if count > 0:
122
  textual_description += f"\nThere are {count} {class_name}s. Their coordinates are: "
123
  for box in boxes:
124
- textual_description += f"{{({box[0]:.2f}, {box[1]:.2f}), ({box[2]:.2f}, {box[3]:.2f})}, }"
125
  if (class_name == "fraction"):
126
  textual_description += f"\nThe fraction numbers from left to right are: {fraction_values}. "
127
  return textual_description
 
121
  if count > 0:
122
  textual_description += f"\nThere are {count} {class_name}s. Their coordinates are: "
123
  for box in boxes:
124
+ textual_description += f"(({box[0]:.2f}, {box[1]:.2f}), ({box[2]:.2f}, {box[3]:.2f})), "
125
  if (class_name == "fraction"):
126
  textual_description += f"\nThe fraction numbers from left to right are: {fraction_values}. "
127
  return textual_description