bkhmsi commited on
Commit
f19e4d1
1 Parent(s): 183883b

arabic fonts fix

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. code/data/fonts/arabic/font_names.txt +0 -1
app.py CHANGED
@@ -67,6 +67,7 @@ if (SPACE_ID := os.getenv('SPACE_ID')) is not None:
67
  else:
68
  DESCRIPTION = DESCRIPTION.replace("either", "")
69
 
 
70
  DESCRIPTION += "<img src='https://raw.githubusercontent.com/BKHMSI/Font-To-Sketch/main/images/animals_7.gif' alt='Example of Outputs'/>"
71
 
72
  warnings.filterwarnings("ignore")
@@ -437,7 +438,7 @@ with gr.Blocks() as demo:
437
  with gr.Row():
438
  # examples
439
  examples = [
440
- ["قطة", "Cat", "Arabic", "Arabic: ArefRuqaa-Regular", 100, 42],
441
  # ["猫", "Cat", "Simplified Chinese", 250, 42],
442
  # ["γάτα", "Cat", "Greek", 250, 42],
443
  # ["кошка", "Cat", "Cyrillic", 250, 42],
 
67
  else:
68
  DESCRIPTION = DESCRIPTION.replace("either", "")
69
 
70
+ DESCRIPTION += "<img src='https://raw.githubusercontent.com/BKHMSI/Font-To-Sketch/main/images/languages_car.gif' alt='Example of Outputs'/>"
71
  DESCRIPTION += "<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
+ ["قطة", "Cat", "Arabic", "Arabic: فارسي بسيط", 250, 42],
442
  # ["猫", "Cat", "Simplified Chinese", 250, 42],
443
  # ["γάτα", "Cat", "Greek", 250, 42],
444
  # ["кошка", "Cat", "Cyrillic", 250, 42],
code/data/fonts/arabic/font_names.txt CHANGED
@@ -1,4 +1,3 @@
1
- ArefRuqaa-Regular
2
  رقعة عارف
3
  ديواني جلي
4
  ديواني مشكل
 
 
1
  رقعة عارف
2
  ديواني جلي
3
  ديواني مشكل