ydshieh HF staff commited on
Commit
aacd978
1 Parent(s): 652cd3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ def draw_entity_boxes_on_image(image, entities, show=False, save_path=None):
137
  new_image = image.copy()
138
  previous_bboxes = []
139
  # size of text
140
- text_size = 2
141
  # thickness of text
142
  text_line = 1 # int(max(1 * min(image_h, image_w) / 512, 1))
143
  box_line = 3
 
137
  new_image = image.copy()
138
  previous_bboxes = []
139
  # size of text
140
+ text_size = 1
141
  # thickness of text
142
  text_line = 1 # int(max(1 * min(image_h, image_w) / 512, 1))
143
  box_line = 3