Logeswaransr commited on
Commit
467e663
1 Parent(s): f33e495

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ if prompt:=st.chat_input("Enter your query"):
66
  with st.chat_message("assistant"):
67
  st.markdown(response)
68
 
69
- tts=gTTS(prompt)
70
  tts.save(audio_stream)
71
  with open(audio_stream, 'rb') as file:
72
  audio_data=file.read()
 
66
  with st.chat_message("assistant"):
67
  st.markdown(response)
68
 
69
+ tts=gTTS(response)
70
  tts.save(audio_stream)
71
  with open(audio_stream, 'rb') as file:
72
  audio_data=file.read()