github-actions[bot] commited on
Commit
5b95d77
·
1 Parent(s): 748e472

Sync with https://github.com/mozilla-ai/document-to-podcast

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -175,7 +175,7 @@ if "clean_text" in st.session_state:
175
  if st.session_state[gen_button]:
176
  if st.button("Save Podcast to audio file"):
177
  st.session_state.audio = stack_audio_segments(
178
- st.session_state.audio, speech_model.audio_codec.sr
179
  )
180
  sf.write(
181
  "podcast.wav",
 
175
  if st.session_state[gen_button]:
176
  if st.button("Save Podcast to audio file"):
177
  st.session_state.audio = stack_audio_segments(
178
+ st.session_state.audio, speech_model.sample_rate
179
  )
180
  sf.write(
181
  "podcast.wav",