Update app.py
Browse files
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 |
-
|
|
|
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 |
|