change demo description
Browse files- .gradio/cached_examples/13/log.csv +1 -0
- app.py +12 -3
.gradio/cached_examples/13/log.csv
CHANGED
@@ -3,3 +3,4 @@ Predicted Dialect,timestamp
|
|
3 |
"{""label"": ""Levantine Arabic"", ""confidences"": [{""label"": ""Levantine Arabic"", ""confidence"": 0.8999205827713013}, {""label"": ""Gulf Arabic"", ""confidence"": 0.09826569259166718}, {""label"": ""Maghrebi Arabic"", ""confidence"": 0.001049569109454751}, {""label"": ""Modern Standard Arabic"", ""confidence"": 0.0004323236644268036}, {""label"": ""Egyptian Arabic"", ""confidence"": 0.0003318020317237824}]}",2025-03-04 14:57:32.843399
|
4 |
"{""label"": ""Gulf Arabic"", ""confidences"": [{""label"": ""Gulf Arabic"", ""confidence"": 0.9867829084396362}, {""label"": ""Levantine Arabic"", ""confidence"": 0.011104526929557323}, {""label"": ""Maghrebi Arabic"", ""confidence"": 0.0016229108441621065}, {""label"": ""Modern Standard Arabic"", ""confidence"": 0.0003496674180496484}, {""label"": ""Egyptian Arabic"", ""confidence"": 0.00014002238458488137}]}",2025-03-04 14:57:54.273625
|
5 |
"{""label"": ""Levantine Arabic"", ""confidences"": [{""label"": ""Levantine Arabic"", ""confidence"": 0.9568566083908081}, {""label"": ""Gulf Arabic"", ""confidence"": 0.03988657519221306}, {""label"": ""Modern Standard Arabic"", ""confidence"": 0.002475168788805604}, {""label"": ""Egyptian Arabic"", ""confidence"": 0.0006239291978999972}, {""label"": ""Maghrebi Arabic"", ""confidence"": 0.00015768631419632584}]}",2025-03-04 14:58:14.103717
|
|
|
|
3 |
"{""label"": ""Levantine Arabic"", ""confidences"": [{""label"": ""Levantine Arabic"", ""confidence"": 0.8999205827713013}, {""label"": ""Gulf Arabic"", ""confidence"": 0.09826569259166718}, {""label"": ""Maghrebi Arabic"", ""confidence"": 0.001049569109454751}, {""label"": ""Modern Standard Arabic"", ""confidence"": 0.0004323236644268036}, {""label"": ""Egyptian Arabic"", ""confidence"": 0.0003318020317237824}]}",2025-03-04 14:57:32.843399
|
4 |
"{""label"": ""Gulf Arabic"", ""confidences"": [{""label"": ""Gulf Arabic"", ""confidence"": 0.9867829084396362}, {""label"": ""Levantine Arabic"", ""confidence"": 0.011104526929557323}, {""label"": ""Maghrebi Arabic"", ""confidence"": 0.0016229108441621065}, {""label"": ""Modern Standard Arabic"", ""confidence"": 0.0003496674180496484}, {""label"": ""Egyptian Arabic"", ""confidence"": 0.00014002238458488137}]}",2025-03-04 14:57:54.273625
|
5 |
"{""label"": ""Levantine Arabic"", ""confidences"": [{""label"": ""Levantine Arabic"", ""confidence"": 0.9568566083908081}, {""label"": ""Gulf Arabic"", ""confidence"": 0.03988657519221306}, {""label"": ""Modern Standard Arabic"", ""confidence"": 0.002475168788805604}, {""label"": ""Egyptian Arabic"", ""confidence"": 0.0006239291978999972}, {""label"": ""Maghrebi Arabic"", ""confidence"": 0.00015768631419632584}]}",2025-03-04 14:58:14.103717
|
6 |
+
"{""label"": ""Maghrebi Arabic"", ""confidences"": [{""label"": ""Maghrebi Arabic"", ""confidence"": 0.9907451868057251}, {""label"": ""Levantine Arabic"", ""confidence"": 0.006062249653041363}, {""label"": ""Egyptian Arabic"", ""confidence"": 0.0019204712007194757}, {""label"": ""Gulf Arabic"", ""confidence"": 0.000674311479087919}, {""label"": ""Modern Standard Arabic"", ""confidence"": 0.0005977060063742101}]}",2025-03-04 14:58:35.786006
|
app.py
CHANGED
@@ -59,9 +59,18 @@ demo = gr.Interface(
|
|
59 |
inputs=gr.Audio(),
|
60 |
outputs=gr.Label(num_top_classes=5, label="Predicted Dialect"),
|
61 |
title="Arabic Dialect Identifier",
|
62 |
-
description="""
|
63 |
-
|
64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
examples=examples if examples else None,
|
66 |
cache_examples=False, # Disable caching to avoid issues
|
67 |
flagging_mode=None
|
|
|
59 |
inputs=gr.Audio(),
|
60 |
outputs=gr.Label(num_top_classes=5, label="Predicted Dialect"),
|
61 |
title="Arabic Dialect Identifier",
|
62 |
+
description="""🎙️ **Arabic Dialect Identification in Speech!**
|
63 |
+
|
64 |
+
Use this AI-powered tool to identify five major Arabic varieties from just a short audio clip:
|
65 |
+
|
66 |
+
✦ Modern Standard Arabic (MSA) - The formal language of media and education
|
67 |
+
✦ Egyptian Arabic - The dialect of Cairo, Alexandria, and popular Arabic cinema
|
68 |
+
✦ Gulf Arabic - Spoken across Saudi Arabia, UAE, Kuwait, Qatar, Bahrain, and Oman
|
69 |
+
✦ Levantine Arabic - The dialect of Syria, Lebanon, Jordan, and Palestine
|
70 |
+
✦ Maghrebi Arabic - The distinctive varieties of Morocco, Algeria, Tunisia, and Libya
|
71 |
+
|
72 |
+
Simply **upload an audio file** or **record yourself speaking** to see which dialect you match! Perfect for language learners, linguistics enthusiasts, or anyone curious about Arabic language variation.
|
73 |
+
"""
|
74 |
examples=examples if examples else None,
|
75 |
cache_examples=False, # Disable caching to avoid issues
|
76 |
flagging_mode=None
|