badrex commited on
Commit
e6d73f0
·
verified ·
1 Parent(s): 7732609

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def predict(audio_segment, sr=16000):
22
  dialect_mapping = {
23
  "MSA": "Modern Standard Arabic (MSA) - العربية الفصحى الحديثة",
24
  "Egyptian": "Egyptian Arabic - اللهجة المصرية العامية",
25
- "Gulf": "Gulf Arabic - لهجة الجزيرة العربية",
26
  "Levantine": "Levantine Arabic - لهجة بلاد الشام",
27
  "Maghrebi": "Maghrebi Arabic - اللهجة المغاربية"
28
  }
@@ -160,6 +160,7 @@ demo = gr.Interface(
160
  """,
161
  examples=examples if examples else None,
162
  cache_examples=False, # Disable caching to avoid issues
 
163
  flagging_mode=None
164
  )
165
 
 
22
  dialect_mapping = {
23
  "MSA": "Modern Standard Arabic (MSA) - العربية الفصحى الحديثة",
24
  "Egyptian": "Egyptian Arabic - اللهجة المصرية العامية",
25
+ "Gulf": "Peninsular Arabic - لهجة الجزيرة العربية",
26
  "Levantine": "Levantine Arabic - لهجة بلاد الشام",
27
  "Maghrebi": "Maghrebi Arabic - اللهجة المغاربية"
28
  }
 
160
  """,
161
  examples=examples if examples else None,
162
  cache_examples=False, # Disable caching to avoid issues
163
+ theme=gr.themes.Default(font=[gr.themes.GoogleFont("Amiri"), "Arial", "serif"])
164
  flagging_mode=None
165
  )
166