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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ def generate_textual_description(box_info):
110
  if left_zero:
111
  textual_description += f"There is a zero on the left side of the number line. Its coordinate is (({left_most_zero_cor[0]:.2f}, {left_most_zero_cor[1]:.2f}), ({left_most_zero_cor[2]:.2f}, {left_most_zero_cor[3]:.2f}))"
112
  if right_one:
113
- textual_description += f"There is a one on the right side of the number line. Its coordinate is (({({right_most_one_cor[0]:.2f}, {right_most_one_cor[1]:.2f}), ({right_most_one_cor[2]:.2f}, {right_most_one_cor[3]:.2f}))"
114
  present_classes = ['fraction', 'tick']
115
  for cid, boxes in class_summary.items():
116
  class_name = cid
 
110
  if left_zero:
111
  textual_description += f"There is a zero on the left side of the number line. Its coordinate is (({left_most_zero_cor[0]:.2f}, {left_most_zero_cor[1]:.2f}), ({left_most_zero_cor[2]:.2f}, {left_most_zero_cor[3]:.2f}))"
112
  if right_one:
113
+ textual_description += f"There is a one on the right side of the number line. Its coordinate is (({right_most_one_cor[0]:.2f}, {right_most_one_cor[1]:.2f}), ({right_most_one_cor[2]:.2f}, {right_most_one_cor[3]:.2f}))"
114
  present_classes = ['fraction', 'tick']
115
  for cid, boxes in class_summary.items():
116
  class_name = cid