Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def generate_text(prompt):
28
 
29
  def text_to_speech(text):
30
  """Convert text response to speech using Google TTS."""
31
- tts = gTTS(text=text, lang="en")
32
  output_path = "output.mp3"
33
  tts.save(output_path)
34
  return output_path # Return file path for Gradio
 
28
 
29
  def text_to_speech(text):
30
  """Convert text response to speech using Google TTS."""
31
+ tts = gTTS(text=text, lang="te")
32
  output_path = "output.mp3"
33
  tts.save(output_path)
34
  return output_path # Return file path for Gradio