Leo Liu commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -107,11 +107,10 @@ def main():
|
|
| 107 |
progress_bar.progress(100)
|
| 108 |
audio_data = text2audio(story)
|
| 109 |
status.update(label="✅ Start playing the story!", state="complete")
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
st.audio(audio_data['audio'],
|
| 113 |
format="audio/mp3",
|
| 114 |
-
autoplay=True)
|
| 115 |
|
| 116 |
if __name__ == "__main__":
|
| 117 |
main()
|
|
|
|
| 107 |
progress_bar.progress(100)
|
| 108 |
audio_data = text2audio(story)
|
| 109 |
status.update(label="✅ Start playing the story!", state="complete")
|
| 110 |
+
|
| 111 |
+
st.audio(audio_data,
|
|
|
|
| 112 |
format="audio/mp3",
|
| 113 |
+
autoplay=True)
|
| 114 |
|
| 115 |
if __name__ == "__main__":
|
| 116 |
main()
|