Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def generate_summary(text):
|
|
20 |
summary = summarizer(truncated_text, max_new_tokens=150, min_new_tokens=40, do_sample=False)[0]['summary_text']
|
21 |
return summary
|
22 |
|
23 |
-
st.title("
|
24 |
|
25 |
st.write("Using the BART-large-CNN model.")
|
26 |
|
|
|
20 |
summary = summarizer(truncated_text, max_new_tokens=150, min_new_tokens=40, do_sample=False)[0]['summary_text']
|
21 |
return summary
|
22 |
|
23 |
+
st.title("A simple text-summarization-tool")
|
24 |
|
25 |
st.write("Using the BART-large-CNN model.")
|
26 |
|