dosenbiiir commited on
Commit
17a9896
1 Parent(s): 3f224ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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[0]['summary_text']
 
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)