shrut27 commited on
Commit
2f81b86
1 Parent(s): ff9a265

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ if st.button("Translate"):
52
 
53
  # Display audio player in the app
54
  audio_bytes = open(audio_file, "rb").read()
55
- st.audio(audio_bytes, format="audio/mp3")
56
 
57
  else:
58
  st.write("Please enter some text to translate.")
 
52
 
53
  # Display audio player in the app
54
  audio_bytes = open(audio_file, "rb").read()
55
+ st.audio(audio_bytes, format="audio/mpeg")
56
 
57
  else:
58
  st.write("Please enter some text to translate.")