Spaces:
Sleeping
Sleeping
fix split
Browse files
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=
|
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()
|