Matt09Miao commited on
Commit
a43888b
·
verified ·
1 Parent(s): d5c24f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ if input is not None:
30
  #Stage 1: Input to Tweet
31
  st.text('Generating a Tweet...')
32
  tweet = text2story(input)
33
- st.write(tweet, max_length=45)
34
 
35
  #Stage 2: Tweet Toxicity Analysis
36
 
 
30
  #Stage 1: Input to Tweet
31
  st.text('Generating a Tweet...')
32
  tweet = text2story(input)
33
+ st.write(tweet, max_length=45, num_return_sequences=1
34
 
35
  #Stage 2: Tweet Toxicity Analysis
36