Spaces:
Runtime error
Runtime error
updated examples
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ if (SPACE_ID := os.getenv('SPACE_ID')) is not None:
|
|
| 67 |
else:
|
| 68 |
DESCRIPTION = DESCRIPTION.replace("either", "")
|
| 69 |
|
| 70 |
-
DESCRIPTION += "<div
|
| 71 |
ARABIC_EX = "<img src='https://raw.githubusercontent.com/BKHMSI/Font-To-Sketch/main/images/animals_7.gif' alt='Example of Outputs'/>"
|
| 72 |
|
| 73 |
warnings.filterwarnings("ignore")
|
|
@@ -438,11 +438,11 @@ with gr.Blocks() as demo:
|
|
| 438 |
with gr.Row():
|
| 439 |
# examples
|
| 440 |
examples = [
|
| 441 |
-
["ق
|
| 442 |
-
["
|
| 443 |
-
["
|
| 444 |
-
["к
|
| 445 |
-
["
|
| 446 |
]
|
| 447 |
|
| 448 |
demo.queue(max_size=10, concurrency_count=2)
|
|
|
|
| 67 |
else:
|
| 68 |
DESCRIPTION = DESCRIPTION.replace("either", "")
|
| 69 |
|
| 70 |
+
DESCRIPTION += "<div align='text-align:center; width:100%'><img src='https://raw.githubusercontent.com/BKHMSI/Font-To-Sketch/main/images/languages_car.gif' alt='Example of Outputs'/></div>"
|
| 71 |
ARABIC_EX = "<img src='https://raw.githubusercontent.com/BKHMSI/Font-To-Sketch/main/images/animals_7.gif' alt='Example of Outputs'/>"
|
| 72 |
|
| 73 |
warnings.filterwarnings("ignore")
|
|
|
|
| 438 |
with gr.Row():
|
| 439 |
# examples
|
| 440 |
examples = [
|
| 441 |
+
["موسيقى", "music", "Arabic", "Arabic: حر طويل", 250, 42],
|
| 442 |
+
["音乐", "music", "Simplified Chinese", "Chinese: ZhiMangXing-Regular", 250, 42],
|
| 443 |
+
["μουσική", "music", "Greek", "Greek: EBGaramond-Regular", 250, 42],
|
| 444 |
+
["музыка", "music", "Cyrillic", "Cyrillic: Geologica_Auto-Regular", 250, 42],
|
| 445 |
+
["இசை", "music", "Tamil", "Tamil: HindMadurai-Regular", 250, 42],
|
| 446 |
]
|
| 447 |
|
| 448 |
demo.queue(max_size=10, concurrency_count=2)
|