AustingDong commited on
Commit
789cbe1
·
1 Parent(s): 650abaa

Update model_utils.py

Browse files
Files changed (1) hide show
  1. demo/model_utils.py +0 -1
demo/model_utils.py CHANGED
@@ -241,7 +241,6 @@ def add_title_to_image(image, title, font_size=50):
241
  try:
242
  font = ImageFont.truetype("arial.ttf", font_size) # Use Arial if available
243
  except:
244
- print("font arial not found")
245
  font = ImageFont.load_default(font_size) # Use default if Arial not found
246
 
247
  # Get text size (updated for PIL >= 10)
 
241
  try:
242
  font = ImageFont.truetype("arial.ttf", font_size) # Use Arial if available
243
  except:
 
244
  font = ImageFont.load_default(font_size) # Use default if Arial not found
245
 
246
  # Get text size (updated for PIL >= 10)