Amitesh007 commited on
Commit
9c438e3
·
1 Parent(s): 01094e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,6 +18,6 @@ st.title("Translation Sound Player")
18
  text = st.text_input("Enter some text to translate")
19
 
20
  if st.button("Translate and play sound"):
21
- lang = st.selectbox("Select language", options=["fr", "es", "de", "it"])
22
- audio = play_sound(text, lang)
23
  st.write(audio)
 
18
  text = st.text_input("Enter some text to translate")
19
 
20
  if st.button("Translate and play sound"):
21
+
22
+ audio = play_sound(text, lang='fr')
23
  st.write(audio)