Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,6 +101,9 @@ with tab_your_paper:
|
|
| 101 |
# else:
|
| 102 |
# with col1:
|
| 103 |
# st.write(sum_model(all_text_together))
|
|
|
|
|
|
|
|
|
|
| 104 |
|
| 105 |
if tags_available == True:
|
| 106 |
with col2:
|
|
@@ -109,6 +112,9 @@ with tab_your_paper:
|
|
| 109 |
else:
|
| 110 |
st.markdown("#### Identified topics of your paper:")
|
| 111 |
st.write(tags)
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
with st.expander("See your total text"):
|
| 114 |
st.write(all_text_together)
|
|
|
|
| 101 |
# else:
|
| 102 |
# with col1:
|
| 103 |
# st.write(sum_model(all_text_together))
|
| 104 |
+
else:
|
| 105 |
+
with col1:
|
| 106 |
+
st.markdown("#### Summary currently unavailable.")
|
| 107 |
|
| 108 |
if tags_available == True:
|
| 109 |
with col2:
|
|
|
|
| 112 |
else:
|
| 113 |
st.markdown("#### Identified topics of your paper:")
|
| 114 |
st.write(tags)
|
| 115 |
+
else:
|
| 116 |
+
with col2:
|
| 117 |
+
st.markdown("#### Topics currently unavailable")
|
| 118 |
|
| 119 |
with st.expander("See your total text"):
|
| 120 |
st.write(all_text_together)
|