Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,8 +38,3 @@ if st.button("Summarize"):
|
|
| 38 |
st.write(tokenizer.decode(summary[0], skip_special_tokens=True))
|
| 39 |
else:
|
| 40 |
st.warning("Please enter some text to summarize.")
|
| 41 |
-
|
| 42 |
-
# Add some information about the app
|
| 43 |
-
st.markdown("---")
|
| 44 |
-
st.markdown("This app uses the BART-large-CNN model from Hugging Face for text summarization.")
|
| 45 |
-
st.markdown("You can adjust the maximum length of the summary using the slider above.")
|
|
|
|
| 38 |
st.write(tokenizer.decode(summary[0], skip_special_tokens=True))
|
| 39 |
else:
|
| 40 |
st.warning("Please enter some text to summarize.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|