Solshine commited on
Commit
4e26157
1 Parent(s): e2bb816

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ st.write(x, 'squared is', x * x)
8
  prompt = st.chat_input("Say something")
9
  if prompt:
10
  sound_file = BytesIO()
11
- tts = gTTS('Add text-to-speech to your app', lang='en')
12
  tts.write_to_fp(sound_file)
13
 
14
  st.audio(sound_file)
 
8
  prompt = st.chat_input("Say something")
9
  if prompt:
10
  sound_file = BytesIO()
11
+ tts = gTTS(prompt, lang='en')
12
  tts.write_to_fp(sound_file)
13
 
14
  st.audio(sound_file)