Spaces:
Runtime error
Runtime error
IlyaUsmanov
commited on
Commit
•
e25d038
1
Parent(s):
d2be1e7
Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,6 @@ if st.button("Submit"):
|
|
30 |
arxiv_notation = ['Physics', 'Computer Science', 'Electrical Engineering and Systems Science', 'Math', 'Quantitative Biology', 'Quantitative Finance', 'Statistics']
|
31 |
st.markdown("Top 95% of tags for yor paper:")
|
32 |
while total_proba < 0.95:
|
33 |
-
st.markdown(f"* Paper tag is {arxiv_notation[indices[0][ind]]} with
|
34 |
total_proba += probas[0][ind]
|
35 |
ind += 1
|
|
|
30 |
arxiv_notation = ['Physics', 'Computer Science', 'Electrical Engineering and Systems Science', 'Math', 'Quantitative Biology', 'Quantitative Finance', 'Statistics']
|
31 |
st.markdown("Top 95% of tags for yor paper:")
|
32 |
while total_proba < 0.95:
|
33 |
+
st.markdown(f"* Paper tag is {arxiv_notation[indices[0][ind]]} with probability {probas[0][ind]}")
|
34 |
total_proba += probas[0][ind]
|
35 |
ind += 1
|