Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ def main():
|
|
174 |
st.write(story)
|
175 |
|
176 |
st.subheader("🔊 Audio Playback")
|
177 |
-
st.audio(speech["audio"],sample_rate=audio_file["sampling_rate"]
|
178 |
|
179 |
# Download button
|
180 |
with open(speech["audio"], "rb") as audio_file:
|
|
|
174 |
st.write(story)
|
175 |
|
176 |
st.subheader("🔊 Audio Playback")
|
177 |
+
st.audio(speech["audio"], sample_rate=audio_file["sampling_rate"], format='audio/wav')
|
178 |
|
179 |
# Download button
|
180 |
with open(speech["audio"], "rb") as audio_file:
|