awacke1 commited on
Commit
8b5342f
·
1 Parent(s): e02eb09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def generate_meme(img_path, top_text, middle_text, bottom_text):
19
  img = Image.open(img_path)
20
  draw = ImageDraw.Draw(img)
21
 
22
- font_path = "/path/to/your/font.ttf"
23
  font_size_top = calculate_font_size(img.width, img.height, top_text)
24
  font_size_middle = calculate_font_size(img.width, img.height, middle_text)
25
  font_size_bottom = calculate_font_size(img.width, img.height, bottom_text)
 
19
  img = Image.open(img_path)
20
  draw = ImageDraw.Draw(img)
21
 
22
+ font_path = "Nasa21-l23X.ttf"
23
  font_size_top = calculate_font_size(img.width, img.height, top_text)
24
  font_size_middle = calculate_font_size(img.width, img.height, middle_text)
25
  font_size_bottom = calculate_font_size(img.width, img.height, bottom_text)