Spaces:
Runtime error
Runtime error
Amitesh007
commited on
Commit
·
9c438e3
1
Parent(s):
01094e2
Update app.py
Browse files
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 |
-
|
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)
|