lim
Browse files
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'])
|