Commit
·
0ef34b0
1
Parent(s):
91bb5aa
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def generate_caption(image):
|
|
40 |
|
41 |
# Determine font size
|
42 |
max_width = int(pil_image.width * 0.9)
|
43 |
-
font_size =
|
44 |
font = ImageFont.truetype("impact.ttf", font_size)
|
45 |
|
46 |
# Calculate the width for text wrap
|
|
|
40 |
|
41 |
# Determine font size
|
42 |
max_width = int(pil_image.width * 0.9)
|
43 |
+
font_size = 60
|
44 |
font = ImageFont.truetype("impact.ttf", font_size)
|
45 |
|
46 |
# Calculate the width for text wrap
|