tykiww commited on
Commit
124c5b4
·
verified ·
1 Parent(s): 4af5dfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def init_TTS():
21
  def generate_speech(text):
22
  # Generate speech using the provided text, speaker voice, and language
23
  file_path = "output.wav"
24
- speaker_wav = "/content/speaker.wav"
25
  language = "en"
26
  tts.tts_to_file(text=text,
27
  file_path=file_path,
 
21
  def generate_speech(text):
22
  # Generate speech using the provided text, speaker voice, and language
23
  file_path = "output.wav"
24
+ speaker_wav = "content/speaker.wav"
25
  language = "en"
26
  tts.tts_to_file(text=text,
27
  file_path=file_path,