Leo Liu commited on
Commit
365d8be
·
verified ·
1 Parent(s): de2e7c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,10 +78,10 @@ def main():
78
  st.write(f"**Your Story:**\n{story}")
79
 
80
  #Stage 3: Story to Audio data
81
- with status_container.status("🎵 **Step 3/3**: Adding magic music...", expanded=True) as status:
82
  progress_bar.progress(100)
83
  audio_data = text2audio(story)
84
- status.update(label="✅ Playing the audio!", state="complete")
85
 
86
  # Auto-play the audio
87
  st.audio(audio_data['audio'],
 
78
  st.write(f"**Your Story:**\n{story}")
79
 
80
  #Stage 3: Story to Audio data
81
+ with status_container.status("🎵 **Step 3/3**: Adding magic audio...", expanded=True) as status:
82
  progress_bar.progress(100)
83
  audio_data = text2audio(story)
84
+ status.update(label="✅ Start playing the story!", state="complete")
85
 
86
  # Auto-play the audio
87
  st.audio(audio_data['audio'],