xujinheng666 commited on
Commit
0d8b59b
·
verified ·
1 Parent(s): b05b1f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ if uploaded_file is not None:
40
 
41
  #Stage 2: Text to Story
42
  st.text('Generating a story...')
43
- story = text2story(scenario)
44
  st.write(story)
45
 
46
  #Stage 3: Story to Audio data
 
40
 
41
  #Stage 2: Text to Story
42
  st.text('Generating a story...')
43
+ story = text2story(scenario, max_length=150, num_return_sequences=1)
44
  st.write(story)
45
 
46
  #Stage 3: Story to Audio data