bkhmsi commited on
Commit
0a50422
·
1 Parent(s): 631dd6b

updated examples

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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 style='text-align:center'><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,11 +438,11 @@ with gr.Blocks() as demo:
438
  with gr.Row():
439
  # examples
440
  examples = [
441
- ["قطة", "Cat", "Arabic", "Arabic: حر طويل", 250, 42],
442
- ["", "Cat", "Simplified Chinese", "Chinese: ZhiMangXing-Regular", 250, 42],
443
- ["γάτα", "Cat", "Greek", "Greek: EBGaramond-Regular", 250, 42],
444
- ["кошка", "Cat", "Cyrillic", "Cyrillic: Geologica_Auto-Regular", 250, 42],
445
- ["பூனை", "Cat", "Tamil", "Tamil: HindMadurai-Regular", 250, 42],
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)