saidsef commited on
Commit
5b91372
·
verified ·
1 Parent(s): 3088252

fix: index out of bound

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)