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

fix: remove sampling

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,5 +5,5 @@ pipe = pipeline(task="summarization", model="facebook/bart-large-cnn")
5
  text = st.text_area("Summarise the following")
6
 
7
  if text:
8
- out = pipe(text, do_sample=False)
9
  st.write(out)
 
5
  text = st.text_area("Summarise the following")
6
 
7
  if text:
8
+ out = pipe(text)
9
  st.write(out)