danny042 commited on
Commit
3360b67
1 Parent(s): 8051719

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def main():
90
  audio = AudioSegment.from_file("output.mp3", format="mp3")
91
 
92
  # Streamlit에서 음성 재생
93
- st.audio(audio.export(format='mp3').read(), format='audio/mp3',start_time=0)
94
 
95
  st.markdown(response)
96
  with st.expander("참고 문서 확인"):
 
90
  audio = AudioSegment.from_file("output.mp3", format="mp3")
91
 
92
  # Streamlit에서 음성 재생
93
+ st.audio(audio.export(format='mp3').read(), auto_play=True)
94
 
95
  st.markdown(response)
96
  with st.expander("참고 문서 확인"):