Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,9 +8,9 @@ summarizer = pipeline("summarization", model="Suhaib-27/check")
|
|
| 8 |
st.title("Text Summarization App")
|
| 9 |
|
| 10 |
# get the topic
|
| 11 |
-
text = st.text_area("Enter
|
| 12 |
|
| 13 |
if text:
|
| 14 |
-
summarizer(text)
|
| 15 |
|
| 16 |
-
st.write(
|
|
|
|
| 8 |
st.title("Text Summarization App")
|
| 9 |
|
| 10 |
# get the topic
|
| 11 |
+
text = st.text_area("Enter the text to be summarized")
|
| 12 |
|
| 13 |
if text:
|
| 14 |
+
output = summarizer(text)
|
| 15 |
|
| 16 |
+
st.write(output)
|