stzhao commited on
Commit
bf85807
·
verified ·
1 Parent(s): 08ca39d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ category_dict = {
25
  def draw_annotation(canvas, bbox, category, source_code):
26
  paint = skia.Paint(Color=skia.ColorRED, Style=skia.Paint.kStroke_Style, StrokeWidth=2)
27
  text_paint = skia.Paint(Color=skia.ColorRED)
28
- text_paint.setTextSize(12)
29
 
30
  # Unpack the bounding box coordinates
31
  x_min, y_min, x_max, y_max = bbox
 
25
  def draw_annotation(canvas, bbox, category, source_code):
26
  paint = skia.Paint(Color=skia.ColorRED, Style=skia.Paint.kStroke_Style, StrokeWidth=2)
27
  text_paint = skia.Paint(Color=skia.ColorRED)
28
+ # text_paint.setTextSize(12)
29
 
30
  # Unpack the bounding box coordinates
31
  x_min, y_min, x_max, y_max = bbox