ilushado commited on
Commit
782f163
·
1 Parent(s): 8189ab3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -119,8 +119,9 @@ if st.button("Посмотреть топ"):
119
  while current_prob < 0.95 and idx < len(elems):
120
  current_elems.append(idx_to_tag[elems[idx]])
121
  current_probs.append(probs[elems[idx]])
122
- idx += 1
123
  current_prob += probs[elems[idx]]
 
 
124
 
125
 
126
  st.write(pd.DataFrame({
 
119
  while current_prob < 0.95 and idx < len(elems):
120
  current_elems.append(idx_to_tag[elems[idx]])
121
  current_probs.append(probs[elems[idx]])
 
122
  current_prob += probs[elems[idx]]
123
+ idx += 1
124
+
125
 
126
 
127
  st.write(pd.DataFrame({