Suhaib-27 commited on
Commit
21e4670
1 Parent(s): b1ddd97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 your desired Topic of Blog")
12
 
13
  if text:
14
- summarizer(text)
15
 
16
- st.write(zero_output)
 
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)