shingguy1 commited on
Commit
e8cddda
·
verified ·
1 Parent(s): 04e49b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -212,4 +212,5 @@ with st.container():
212
  # TTS
213
  tts_pipe = get_tts_pipe()
214
  with st.spinner("Turning your story into sound..."):
215
- audio
 
 
212
  # TTS
213
  tts_pipe = get_tts_pipe()
214
  with st.spinner("Turning your story into sound..."):
215
+ audio_bytes = part3_text_to_speech_bytes(story, tts_pipe)
216
+ st.audio(audio_bytes, format="audio/wav")