Spaces:
Runtime error
Runtime error
Commit ·
4402155
1
Parent(s): b298d1a
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,16 +20,16 @@ if uploaded_file is not None:
|
|
| 20 |
#text = st.text_area('Enter some Text!')
|
| 21 |
|
| 22 |
|
| 23 |
-
summarizer = load_summarizer()
|
| 24 |
-
st.title("Summarize Text")
|
| 25 |
-
sentence = st.text_area('Please paste your article :', height=30)
|
| 26 |
-
button = st.button("Click")
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
-
if text:
|
| 31 |
-
|
| 32 |
-
|
| 33 |
|
| 34 |
|
| 35 |
|
|
|
|
| 20 |
#text = st.text_area('Enter some Text!')
|
| 21 |
|
| 22 |
|
| 23 |
+
#summarizer = load_summarizer()
|
| 24 |
+
#st.title("Summarize Text")
|
| 25 |
+
#sentence = st.text_area('Please paste your article :', height=30)
|
| 26 |
+
#button = st.button("Click")
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
+
#if text:
|
| 31 |
+
# out=pipe(text)
|
| 32 |
+
# st.json(out)
|
| 33 |
|
| 34 |
|
| 35 |
|