smfry010 commited on
Commit
3ce224a
1 Parent(s): 93c50e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,4 +16,4 @@ text = st.text_area('Enter a long body of text to summarize:')
16
  if text:
17
  # st.json(summarizer(text))
18
  out = summarizer(text)
19
- st.write(out[0])
 
16
  if text:
17
  # st.json(summarizer(text))
18
  out = summarizer(text)
19
+ st.write(out[0]['summary_text'])