Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def predict_dialect(text):
|
|
| 17 |
pred = torch.argmax(outputs.logits, dim=-1).item()
|
| 18 |
return id2label[pred]
|
| 19 |
|
| 20 |
-
title = "
|
| 21 |
description = """
|
| 22 |
Detect the Arabic dialect from the input text.
|
| 23 |
Dialects include: African, Khaleeji, Levant, and Egyptian.
|
|
|
|
| 17 |
pred = torch.argmax(outputs.logits, dim=-1).item()
|
| 18 |
return id2label[pred]
|
| 19 |
|
| 20 |
+
title = "AraELECTRA Arabic Dialect Classifier 🌍"
|
| 21 |
description = """
|
| 22 |
Detect the Arabic dialect from the input text.
|
| 23 |
Dialects include: African, Khaleeji, Levant, and Egyptian.
|