Spaces:
Sleeping
Sleeping
Commit
·
e1f0535
1
Parent(s):
94ba4d8
app.py
CHANGED
|
@@ -16,8 +16,8 @@ alphabet = string.digits + string.ascii_lowercase + string.ascii_uppercase + str
|
|
| 16 |
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~
|
| 17 |
'''
|
| 18 |
|
| 19 |
-
if not os.path.exists('Arial.ttf'):
|
| 20 |
-
|
| 21 |
|
| 22 |
|
| 23 |
if not os.path.exists('images2'):
|
|
@@ -365,7 +365,7 @@ with gr.Blocks() as demo:
|
|
| 365 |
}
|
| 366 |
</style>
|
| 367 |
|
| 368 |
-
<img src="file/
|
| 369 |
</div>
|
| 370 |
""")
|
| 371 |
|
|
|
|
| 16 |
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~
|
| 17 |
'''
|
| 18 |
|
| 19 |
+
# if not os.path.exists('Arial.ttf'):
|
| 20 |
+
# os.system('wget https://huggingface.co/datasets/JingyeChen22/TextDiffuser/resolve/main/Arial.ttf')
|
| 21 |
|
| 22 |
|
| 23 |
if not os.path.exists('images2'):
|
|
|
|
| 365 |
}
|
| 366 |
</style>
|
| 367 |
|
| 368 |
+
<img src="file/architecture.jpg" alt="textdiffuser-2" class="scaled-image">
|
| 369 |
</div>
|
| 370 |
""")
|
| 371 |
|