51L3N7 commited on
Commit
0c64c86
1 Parent(s): 2625453

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ st.markdown(info)
32
  txt = st.text_area("Text")
33
  if st.button('Submit'):
34
  with st.spinner('Wait for it...'):
35
- audio_file = open(tts(txt, "en"), 'rb')
36
  audio_bytes = audio_file.read()
37
  st.balloons()
38
  st.success("Yay! Check out your TTS! P.S. Why not follow my GitHub, I'm @fakerybakery on GitHub!")
32
  txt = st.text_area("Text")
33
  if st.button('Submit'):
34
  with st.spinner('Wait for it...'):
35
+ audio_file = open(tts(txt, default_lang), 'rb')
36
  audio_bytes = audio_file.read()
37
  st.balloons()
38
  st.success("Yay! Check out your TTS! P.S. Why not follow my GitHub, I'm @fakerybakery on GitHub!")