Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ from PIL import Image, ImageDraw, ImageFont
|
|
| 17 |
# Reddit Template Text Settings
|
| 18 |
REDDIT_CONFIG = {
|
| 19 |
'template_file': 'reddit_template.png', # Template filename in script directory
|
| 20 |
-
'font_file': 'RFDewi-
|
| 21 |
'font_size_max': 180, # Maximum font size to try
|
| 22 |
'font_size_min': 16, # Minimum font size (if text too long)
|
| 23 |
'text_wrap_width': 35, # Characters per line for wrapping
|
|
|
|
| 17 |
# Reddit Template Text Settings
|
| 18 |
REDDIT_CONFIG = {
|
| 19 |
'template_file': 'reddit_template.png', # Template filename in script directory
|
| 20 |
+
'font_file': 'RFDewi-Bold.ttf', # Font file for Reddit text
|
| 21 |
'font_size_max': 180, # Maximum font size to try
|
| 22 |
'font_size_min': 16, # Minimum font size (if text too long)
|
| 23 |
'text_wrap_width': 35, # Characters per line for wrapping
|