Paula Leonova
commited on
Commit
·
08183e3
1
Parent(s):
178f8e8
Update title for data table
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ if submit_button:
|
|
121 |
if len(text_input) == 0 or len(labels) == 0:
|
122 |
st.write('Enter some text and at least one possible topic to see predictions.')
|
123 |
else:
|
124 |
-
st.markdown("### Top Label Predictions on Summary
|
125 |
with st.spinner('Matching labels...'):
|
126 |
topics, scores = md.classifier_zero(classifier, sequence=final_summary, labels=labels, multi_class=True)
|
127 |
# st.markdown("### Top Label Predictions: Combined Summary")
|
|
|
121 |
if len(text_input) == 0 or len(labels) == 0:
|
122 |
st.write('Enter some text and at least one possible topic to see predictions.')
|
123 |
else:
|
124 |
+
st.markdown("### Top Label Predictions on Summary vs Full Text")
|
125 |
with st.spinner('Matching labels...'):
|
126 |
topics, scores = md.classifier_zero(classifier, sequence=final_summary, labels=labels, multi_class=True)
|
127 |
# st.markdown("### Top Label Predictions: Combined Summary")
|