Update app.py
Browse files
app.py
CHANGED
@@ -206,7 +206,7 @@ if prompt := st.chat_input("How can I help you today?"):
|
|
206 |
sound = AudioSegment.from_mp3("/home/user/app/audio/audio.mp3")
|
207 |
sound.export("/home/user/app/audio/audio.wav", format="wav")
|
208 |
st.session_state['audio'] = '/home/user/app/audio/audio.wav'
|
209 |
-
st.audio(st.session_state['audio'])
|
210 |
|
211 |
st.session_state.messages.append({"role": "assistant", "content": full_response})
|
212 |
|
|
|
206 |
sound = AudioSegment.from_mp3("/home/user/app/audio/audio.mp3")
|
207 |
sound.export("/home/user/app/audio/audio.wav", format="wav")
|
208 |
st.session_state['audio'] = '/home/user/app/audio/audio.wav'
|
209 |
+
#st.audio(st.session_state['audio'])
|
210 |
|
211 |
st.session_state.messages.append({"role": "assistant", "content": full_response})
|
212 |
|