Spaces:
Runtime error
Runtime error
dashasabirova
commited on
Commit
•
5b69d1c
1
Parent(s):
46e9ba0
Update app.py
Browse files
app.py
CHANGED
@@ -45,5 +45,5 @@ sum_prob = 0
|
|
45 |
for i in indices:
|
46 |
st.write(labels_articles[i+1])
|
47 |
sum_prob += out_second[0][i]
|
48 |
-
if sum_prob
|
49 |
break
|
|
|
45 |
for i in indices:
|
46 |
st.write(labels_articles[i+1])
|
47 |
sum_prob += out_second[0][i]
|
48 |
+
if sum_prob >= 0.95:
|
49 |
break
|