arkmartov commited on
Commit
c2990c1
1 Parent(s): ecac71c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -23,7 +23,8 @@ def Print(logits, dictionary):
23
  z = sorted(z, key=lambda x: x[0], reverse=True)
24
  summ, idx = 0, 0
25
  while summ < 0.95:
26
- st.markdown(f"{idx + 1}. ", dictionary[z[idx][1]])
 
27
  summ += z[idx][0]
28
  idx += 1
29
 
 
23
  z = sorted(z, key=lambda x: x[0], reverse=True)
24
  summ, idx = 0, 0
25
  while summ < 0.95:
26
+ string = dictionary[z[idx][1]]
27
+ st.markdown(f"{idx + 1}. {string}")
28
  summ += z[idx][0]
29
  idx += 1
30