khang119966 commited on
Commit
32c2424
·
verified ·
1 Parent(s): 60b0804

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def generate_text_image_with_pil(old_text, input_token, new_token, image_width=4
75
  draw = ImageDraw.Draw(img)
76
 
77
  # Load font
78
- font_path = "/usr/share/fonts/truetype/noto/NotoSansCJK-Regular.ttc"
79
  font = ImageFont.truetype(font_path, font_size)
80
 
81
  # Draw text
 
75
  draw = ImageDraw.Draw(img)
76
 
77
  # Load font
78
+ font_path = "NotoSansCJK-Bold.ttc"
79
  font = ImageFont.truetype(font_path, font_size)
80
 
81
  # Draw text