Spaces:
Build error
Build error
Commit
·
19eac47
1
Parent(s):
695ab3c
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ def generate_an_image_from_text(text, text_size_, width, lenght):
|
|
| 41 |
dir_path = ''
|
| 42 |
# Get a list of all the font files in the directory
|
| 43 |
print("start generation")
|
| 44 |
-
font_files = glob.glob(os.path.join(dir_path, '
|
| 45 |
# Get a list of font paths
|
| 46 |
font_paths = []
|
| 47 |
for font_file in font_files:
|
|
|
|
| 41 |
dir_path = ''
|
| 42 |
# Get a list of all the font files in the directory
|
| 43 |
print("start generation")
|
| 44 |
+
font_files = glob.glob(os.path.join(dir_path, '*.ttf'))
|
| 45 |
# Get a list of font paths
|
| 46 |
font_paths = []
|
| 47 |
for font_file in font_files:
|