Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def audio_tts(txt, audio_file):
|
|
18 |
count = 0
|
19 |
|
20 |
# TTS with on the fly voice conversion
|
21 |
-
api = TTS("tts_models/
|
22 |
api.tts_with_vc_to_file(txt,
|
23 |
speaker_wav=audio_file,
|
24 |
file_path="ouptut.wav")
|
|
|
18 |
count = 0
|
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")
|