saidsef commited on
Commit
71aa922
·
verified ·
1 Parent(s): edb172d

fix: index error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,4 +6,4 @@ text = st.text_area("Summarise the following")
6
 
7
  if text:
8
  out = pipe(text, do_sample=False)
9
- st.write(out[0].summary_text)
 
6
 
7
  if text:
8
  out = pipe(text, do_sample=False)
9
+ st.write(out)