UnarineLeo commited on
Commit
50ef43a
1 Parent(s): 2cf67bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ with col2:
139
  """, unsafe_allow_html=True)
140
 
141
  else:
142
- for language, predictions in result.items():
143
  if predictions:
144
  top_prediction = predictions[0]
145
  predicted_word = top_prediction['token_str']
 
139
  """, unsafe_allow_html=True)
140
 
141
  else:
142
+ for key,(predictions, language, sentence) in result.items():
143
  if predictions:
144
  top_prediction = predictions[0]
145
  predicted_word = top_prediction['token_str']