Spaces:
Runtime error
Runtime error
Commit
·
3f224ed
1
Parent(s):
80f6ca1
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def summarize(text):
|
|
20 |
max_length=130,
|
21 |
min_length=30,
|
22 |
do_sample=False)
|
23 |
-
|
24 |
|
25 |
if st.button('Generate'):
|
26 |
# st.write(input)
|
|
|
20 |
max_length=130,
|
21 |
min_length=30,
|
22 |
do_sample=False)
|
23 |
+
return output[0]['summary_text']
|
24 |
|
25 |
if st.button('Generate'):
|
26 |
# st.write(input)
|