Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
·
b9de5e1
1
Parent(s):
bec4016
Update app.py
Browse files
app.py
CHANGED
@@ -83,9 +83,9 @@ def inference_own_voice(text, voice_1, voice_2, voice_3):
|
|
83 |
text = text[:256]
|
84 |
print(voice_1)
|
85 |
conds = [
|
86 |
-
load_audio_special(voice_1),
|
87 |
-
load_audio_special(voice_2),
|
88 |
-
load_audio_special(voice_3),
|
89 |
]
|
90 |
print(text, conds, preset)
|
91 |
gen = tts.tts_with_preset(text, conds, preset)
|
|
|
83 |
text = text[:256]
|
84 |
print(voice_1)
|
85 |
conds = [
|
86 |
+
load_audio_special(voice_1[0], voice_1[1]),
|
87 |
+
load_audio_special(voice_2[0], voice_2[1]),
|
88 |
+
load_audio_special(voice_3[0], voice_3[1]),
|
89 |
]
|
90 |
print(text, conds, preset)
|
91 |
gen = tts.tts_with_preset(text, conds, preset)
|