Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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": "
|
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 |
|