Lakshita336 commited on
Commit
c755791
·
verified ·
1 Parent(s): b29194f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ def speech_recognition_callback():
114
  # Store the speech output in the session state
115
  st.session_state.speech_input = st.session_state.my_stt_output
116
 
117
- def text_to_speech(text, filename, retries=3, delay=5):
118
  # Use gTTS to convert text to speech
119
  tts = gTTS(text=text, lang='en')
120
  # Save the speech as bytes in memory
 
114
  # Store the speech output in the session state
115
  st.session_state.speech_input = st.session_state.my_stt_output
116
 
117
+ def text_to_speech(text, retries=3, delay=5):
118
  # Use gTTS to convert text to speech
119
  tts = gTTS(text=text, lang='en')
120
  # Save the speech as bytes in memory