Spaces:
Build error
Build error
FridaKahlosArtCenter
commited on
Commit
·
a384408
1
Parent(s):
373d912
updated font paths
Browse files
app.py
CHANGED
|
@@ -36,8 +36,8 @@ def image_to_template(generated_image, logo, button_text, punchline, theme_color
|
|
| 36 |
logo_shape = (logo_width, logo_height)
|
| 37 |
|
| 38 |
# Define fonts
|
| 39 |
-
button_font = ImageFont.truetype("Montserrat-Bold.ttf", button_font_size)
|
| 40 |
-
punchline_font = ImageFont.truetype("Montserrat-Bold.ttf", punchline_font_size)
|
| 41 |
|
| 42 |
# button shape
|
| 43 |
button_width = template_width // 3
|
|
|
|
| 36 |
logo_shape = (logo_width, logo_height)
|
| 37 |
|
| 38 |
# Define fonts
|
| 39 |
+
button_font = ImageFont.truetype("./assets/Montserrat-Bold.ttf", button_font_size)
|
| 40 |
+
punchline_font = ImageFont.truetype("./assets/Montserrat-Bold.ttf", punchline_font_size)
|
| 41 |
|
| 42 |
# button shape
|
| 43 |
button_width = template_width // 3
|