malper commited on
Commit
a19537a
1 Parent(s): 9bfd781
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,5 +9,5 @@ st.success('Loaded!')
9
  text = st.text_area('Enter text and press ctrl/command+enter:')
10
 
11
  if text:
12
- output = pipe(text)
13
  st.write(output[0]['generated_text'])
 
9
  text = st.text_area('Enter text and press ctrl/command+enter:')
10
 
11
  if text:
12
+ output = pipe(text, max_length=40)
13
  st.write(output[0]['generated_text'])