malper commited on
Commit
8932fdb
·
1 Parent(s): b4a47e2
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,6 +19,6 @@ text = st.text_area('Enter text and press ctrl/command+enter:')
19
  if text:
20
 
21
  words = [normalize(x) for x in text.split()]
22
- outputs = pipe(words, max_length=40)
23
  output_text = ' '.join([x['generated_text'] for x in outputs])
24
  st.write(output_text)
 
19
  if text:
20
 
21
  words = [normalize(x) for x in text.split()]
22
+ outputs = pipe(words, max_length=200)
23
  output_text = ' '.join([x['generated_text'] for x in outputs])
24
  st.write(output_text)