wookimchye commited on
Commit
822707f
·
verified ·
1 Parent(s): e6dcfdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def predict(pilimg):
52
 
53
  annotated_image = pilimg.convert("RGB")
54
  draw = ImageDraw.Draw(annotated_image)
55
- font = ImageFont.truetype("arialbd.ttf", 30) # Use arial.ttf for bold font
56
 
57
  if classified_type == classes[0]:
58
  draw.text((300, 10), classified_type, fill="red", font=font)
 
52
 
53
  annotated_image = pilimg.convert("RGB")
54
  draw = ImageDraw.Draw(annotated_image)
55
+ font = ImageFont.truetype("font/arialbd.ttf", 30) # Use arial.ttf for bold font
56
 
57
  if classified_type == classes[0]:
58
  draw.text((300, 10), classified_type, fill="red", font=font)