lijiacai commited on
Commit
a2bc806
β€’
1 Parent(s): 5a880d6
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -43,7 +43,7 @@ async def tts(
43
  def generate():
44
  for chunk_text in texts:
45
  wav_path = clone_voice(
46
- user_voice=voice, user_text=text, user_lang=language)
47
 
48
  with open(wav_path, "rb") as audio_file:
49
  audio_content = audio_file.read()
 
43
  def generate():
44
  for chunk_text in texts:
45
  wav_path = clone_voice(
46
+ user_voice=voice, user_text=chunk_text, user_lang=language)
47
 
48
  with open(wav_path, "rb") as audio_file:
49
  audio_content = audio_file.read()