Update app.py
Browse files
app.py
CHANGED
|
@@ -139,7 +139,7 @@ if sent:
|
|
| 139 |
ax.set_title("Valid Dialects", color=ORANGE_COLOR)
|
| 140 |
|
| 141 |
for i in range(len(DIALECTS)):
|
| 142 |
-
text = ax.text(
|
| 143 |
ha="center", va="center", color="w")
|
| 144 |
|
| 145 |
# ax.barh(y=[0], width=[ALDi_score], color=ORANGE_COLOR)
|
|
|
|
| 139 |
ax.set_title("Valid Dialects", color=ORANGE_COLOR)
|
| 140 |
|
| 141 |
for i in range(len(DIALECTS)):
|
| 142 |
+
text = ax.text(i, 0, round(probabilities[i], 2),
|
| 143 |
ha="center", va="center", color="w")
|
| 144 |
|
| 145 |
# ax.barh(y=[0], width=[ALDi_score], color=ORANGE_COLOR)
|