AMR-KELEG commited on
Commit
090528d
·
verified ·
1 Parent(s): 39ce3e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(0, i, probabilities[i],
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)