Update app.py
Browse files
app.py
CHANGED
@@ -19,9 +19,7 @@ def audio_tts(txt, audio_file):
|
|
19 |
|
20 |
# TTS with on the fly voice conversion
|
21 |
api = TTS("tts_models/rus/fairseq/vits", gpu=False)
|
22 |
-
api.tts_with_vc_to_file(txt,
|
23 |
-
speaker_wav=audio_file,
|
24 |
-
file_path="ouptut.wav")
|
25 |
return "ouptut.wav"
|
26 |
|
27 |
|
|
|
19 |
|
20 |
# TTS with on the fly voice conversion
|
21 |
api = TTS("tts_models/rus/fairseq/vits", gpu=False)
|
22 |
+
api.tts_with_vc_to_file(txt, speaker_wav=audio_file, file_path="ouptut.wav")
|
|
|
|
|
23 |
return "ouptut.wav"
|
24 |
|
25 |
|