SaileshSivan commited on
Commit
2f99b27
·
1 Parent(s): cdc99c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -171,10 +171,9 @@ if submit:
171
 
172
  # Listen Button
173
  if st.button("🔊 Listen"):
174
- st.audio(audio_response.content, format="audio/mp3", start_time=0)
175
 
176
- # Download Button
177
- st.button("💾 Download Audio", key="download_button", on_click=download_audio, args=(audio_response.content,))
178
 
179
  else:
180
  st.subheader("Error: Unable to get response. Please try again later.")
 
171
 
172
  # Listen Button
173
  if st.button("🔊 Listen"):
174
+ st.audio(audio_response.content, format="audio/wav", start_time=0)
175
 
176
+
 
177
 
178
  else:
179
  st.subheader("Error: Unable to get response. Please try again later.")