Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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/
|
| 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.")
|