Spaces:
Runtime error
Runtime error
dosenbiiir
commited on
Commit
•
17a9896
1
Parent(s):
3f224ed
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,8 @@ def summarize(text):
|
|
20 |
max_length=130,
|
21 |
min_length=30,
|
22 |
do_sample=False)
|
23 |
-
return output
|
|
|
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
|
24 |
+
#return output[0]['summary_text']
|
25 |
|
26 |
if st.button('Generate'):
|
27 |
# st.write(input)
|