Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|