IrisDeng commited on
Commit
75961c1
·
verified ·
1 Parent(s): 96644c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -70,4 +70,7 @@ if uploaded_image is not None:
70
 
71
  with st.spinner("Converting text to audio..."):
72
  audio_file = convert_text_to_audio(story_text)
73
- st.audio(audio_file, format="audio/mp3")
 
 
 
 
70
 
71
  with st.spinner("Converting text to audio..."):
72
  audio_file = convert_text_to_audio(story_text)
73
+ st.audio(audio_file, format="audio/mp3")
74
+
75
+ if __name__ == "__main__":
76
+ run_app()