Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ def create_label(background_image, model_data):
|
|
70 |
# Choose a font and size. Change path/size as needed.
|
71 |
# If you don't have a custom font file, you can use a PIL built-in font.
|
72 |
try:
|
73 |
-
font = ImageFont.truetype("
|
74 |
print("Font loaded successfully!")
|
75 |
except Exception as e:
|
76 |
font = ImageFont.load_default()
|
|
|
70 |
# Choose a font and size. Change path/size as needed.
|
71 |
# If you don't have a custom font file, you can use a PIL built-in font.
|
72 |
try:
|
73 |
+
font = ImageFont.truetype("Arial.ttf", 20)
|
74 |
print("Font loaded successfully!")
|
75 |
except Exception as e:
|
76 |
font = ImageFont.load_default()
|