Spaces:
Running
Running
Luis J Camargo commited on
Commit ·
9d375e9
1
Parent(s): 30e19d7
feat: Update Gradio theme, header text, and model description in the 'About' section.
Browse files
app.py
CHANGED
|
@@ -232,12 +232,12 @@ def predict_language(audio_path, fam_k=1, fam_thresh=0.0, super_k=1, super_thres
|
|
| 232 |
raise gr.Error(f"Processing failed: {str(e)}")
|
| 233 |
|
| 234 |
# === UI COMPONENTS ===
|
| 235 |
-
with gr.Blocks(theme=gr.themes.
|
| 236 |
gr.HTML(
|
| 237 |
"""
|
| 238 |
-
<div style="text-align: center; padding: 30px; background: linear-gradient(
|
| 239 |
-
<h1 style="color: white; margin: 0; font-size: 2.5em;"
|
| 240 |
-
<p style="font-size: 1.2em; opacity: 0.9; margin-top: 10px;">
|
| 241 |
</div>
|
| 242 |
"""
|
| 243 |
)
|
|
@@ -293,14 +293,13 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="indigo", secondary_hue="blue"))
|
|
| 293 |
"""
|
| 294 |
---
|
| 295 |
### ℹ️ About this Model
|
| 296 |
-
|
| 297 |
-
|
| 298 |
**Accuracy Overview:**
|
| 299 |
- **Language Family**: ~73%
|
| 300 |
- **Superlanguage**: ~59%
|
| 301 |
- **Language Code**: ~52%
|
| 302 |
|
| 303 |
-
*Developed
|
| 304 |
"""
|
| 305 |
)
|
| 306 |
|
|
|
|
| 232 |
raise gr.Error(f"Processing failed: {str(e)}")
|
| 233 |
|
| 234 |
# === UI COMPONENTS ===
|
| 235 |
+
with gr.Blocks(theme=gr.themes.Ocean()) as demo:
|
| 236 |
gr.HTML(
|
| 237 |
"""
|
| 238 |
+
<div style="text-align: center; padding: 30px; background: linear-gradient(120deg, rgb(2, 132, 199) 0%, rgb(16, 185, 129) 60%, rgb(5, 150, 105) 100%); color: white; border-radius: 15px; margin-bottom: 25px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);">
|
| 239 |
+
<h1 style="color: white; margin: 0; font-size: 2.5em;">🦡 Tachiwin Language Identifier 🦡</h1>
|
| 240 |
+
<p style="font-size: 1.2em; opacity: 0.9; margin-top: 10px;">Identify any of the 68 languages of Mexico and their 360 variants</p>
|
| 241 |
</div>
|
| 242 |
"""
|
| 243 |
)
|
|
|
|
| 293 |
"""
|
| 294 |
---
|
| 295 |
### ℹ️ About this Model
|
| 296 |
+
Tachiwin Multilingual Language Classifier is a finetune/fork or encoded-only whisper architecture trained to recognize any of the 68 indigenous superlanguages of México and their 360 variants.
|
|
|
|
| 297 |
**Accuracy Overview:**
|
| 298 |
- **Language Family**: ~73%
|
| 299 |
- **Superlanguage**: ~59%
|
| 300 |
- **Language Code**: ~52%
|
| 301 |
|
| 302 |
+
*Developed by Tachiwin. May the indigenous languages never be lost.*
|
| 303 |
"""
|
| 304 |
)
|
| 305 |
|