EmmaL1 commited on
Commit
3b913aa
·
verified ·
1 Parent(s): 02723d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,12 +49,12 @@ if uploaded_file is not None:
49
 
50
  # stage 2
51
  st.text('Generating a story...')
52
- scenario = text2story(scenario)
53
  st.write(scenario)
54
 
55
  # stage 3
56
  st.text('Generating audio data...')
57
- audio_data = text2audio(scenario)
58
 
59
  if st.button("Play Audio"):
60
  st.audio(speech_output['audio'],
 
49
 
50
  # stage 2
51
  st.text('Generating a story...')
52
+ scenario = text2story(generated_story)
53
  st.write(scenario)
54
 
55
  # stage 3
56
  st.text('Generating audio data...')
57
+ audio_data = text2audio(speech_output)
58
 
59
  if st.button("Play Audio"):
60
  st.audio(speech_output['audio'],