DatSplit commited on
Commit
37639a8
·
verified ·
1 Parent(s): 97d2e19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ def draw_predictions(boxes, labels, scores, img, score_threshold=0.5, font_size=
114
  labels=[f"{name}: {score:.2f}" for name, score in zip(label_names, scores_filtered)],
115
  colors=colors,
116
  width=10,
117
- font_size=30 # increase font size here
118
  )
119
  imgs_list.append(img_bbox.permute(1, 2, 0).numpy()) # convert to HWC for Gradio
120
 
 
114
  labels=[f"{name}: {score:.2f}" for name, score in zip(label_names, scores_filtered)],
115
  colors=colors,
116
  width=10,
117
+ font_size=60
118
  )
119
  imgs_list.append(img_bbox.permute(1, 2, 0).numpy()) # convert to HWC for Gradio
120