Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -133,25 +133,25 @@ demo = gr.Interface(
|
|
133 |
inputs=gr.Audio(),
|
134 |
outputs=gr.Label(num_top_classes=5, label="Predicted Dialect"),
|
135 |
title="Tamyïz 🍉 Arabic Dialect Identification in Speech",
|
136 |
-
|
137 |
-
|
138 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
<br>
|
140 |
-
<
|
141 |
-
|
142 |
-
|
143 |
-
From just a short audio clip (5-10 seconds), the model can identify Modern Standard Arabic (<strong>MSA</strong>) as well as four major regional Arabic varieties: Egyptian Arabic, Gulf Arabic, Levantine Arabic, and Maghrebi Arabic.
|
144 |
-
<br>
|
145 |
-
<p>
|
146 |
-
Simply <strong>upload an audio file</strong> or <strong>record yourself speaking</strong> to try out the model!
|
147 |
-
</p>
|
148 |
-
<br>
|
149 |
-
<p>
|
150 |
-
Developed with ❤️🤍💚 by <a href="https://badrex.github.io/" style="color: #2563eb;">Badr Alabsi</a>
|
151 |
-
</p>
|
152 |
-
</div>
|
153 |
</div>
|
154 |
-
|
|
|
155 |
examples=examples if examples else None,
|
156 |
cache_examples=False, # Disable caching to avoid issues
|
157 |
flagging_mode=None
|
|
|
133 |
inputs=gr.Audio(),
|
134 |
outputs=gr.Label(num_top_classes=5, label="Predicted Dialect"),
|
135 |
title="Tamyïz 🍉 Arabic Dialect Identification in Speech",
|
136 |
+
description="""
|
137 |
+
<div class="centered-content">
|
138 |
+
<img src="https://huggingface.co/badrex/mms-300m-arabic-dialect-identifier/resolve/main/assets/logo.png" alt="Logo" style="width: 200px; height: auto; margin-bottom: 20px;">
|
139 |
+
<br>
|
140 |
+
<div>
|
141 |
+
<p>
|
142 |
+
This is a demo for the accurate and robust Transformer-based <a href="https://huggingface.co/badrex/mms-300m-arabic-dialect-identifier" style="color: #FF5349;">model</a> for Spoken Arabic Dialect Identification (ADI).
|
143 |
+
From just a short audio clip (5-10 seconds), the model can identify Modern Standard Arabic (<strong>MSA</strong>) as well as four major regional Arabic varieties: <strong>Egyptian</strong> Arabic, <strong>Gulf</strong> Arabic, <strong>Levantine</strong> Arabic, and <strong>Maghrebi</strong> Arabic.
|
144 |
+
<br>
|
145 |
+
<p>
|
146 |
+
Simply <strong>upload an audio file</strong> 📀 or <strong>record yourself speaking</strong> ⏯️⏺️ to try out the model!
|
147 |
+
</p>
|
148 |
<br>
|
149 |
+
<p>
|
150 |
+
Developed with ❤️🤍💚 by <a href="https://badrex.github.io/" style="color: #2563eb;">Badr Alabsi</a>
|
151 |
+
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
</div>
|
153 |
+
</div>
|
154 |
+
""",
|
155 |
examples=examples if examples else None,
|
156 |
cache_examples=False, # Disable caching to avoid issues
|
157 |
flagging_mode=None
|