smfry010 commited on
Commit
93c50e2
1 Parent(s): 576a34a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -14,4 +14,6 @@ summarizer = pipeline("summarization", model="stevhliu/my_awesome_billsum_model"
14
  text = st.text_area('Enter a long body of text to summarize:')
15
 
16
  if text:
17
- st.json(summarizer(text))
 
 
 
14
  text = st.text_area('Enter a long body of text to summarize:')
15
 
16
  if text:
17
+ # st.json(summarizer(text))
18
+ out = summarizer(text)
19
+ st.write(out[0])