Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,7 @@ import xml.etree.ElementTree as ET
|
|
| 11 |
|
| 12 |
def find_ttf_fonts():
|
| 13 |
files = glob.glob('**/*.ttf', recursive=True)
|
|
|
|
| 14 |
|
| 15 |
def embed_font_in_html(font_path, font_name, html_content):
|
| 16 |
with open(font_path, "rb") as font_file:
|
|
|
|
| 11 |
|
| 12 |
def find_ttf_fonts():
|
| 13 |
files = glob.glob('**/*.ttf', recursive=True)
|
| 14 |
+
return files
|
| 15 |
|
| 16 |
def embed_font_in_html(font_path, font_name, html_content):
|
| 17 |
with open(font_path, "rb") as font_file:
|