Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ from TTS.api import TTS
|
|
4 |
# Init TTS
|
5 |
tts = TTS(model_name="tts_models/multilingual/multi-dataset/your_tts", progress_bar = False, gpu=False)
|
6 |
zh_tts = TTS(model_name="tts_models/zh-CN/baker/tacotron2-DDC-GST", progress_bar=False, gpu=False)
|
7 |
-
|
8 |
-
de_tts = TTS(model_name = "tts_models/de/thorsten/tacotron2-DCA", gpu=False)
|
9 |
es_tts = TTS(model_name = "tts_models/es/mai/tacotron2-DCA", progress_bar=False, gpu=False)
|
10 |
|
11 |
def text_to_speech(text: str, speaker_wav, speaker_wav_file, language: str):
|
|
|
4 |
# Init TTS
|
5 |
tts = TTS(model_name="tts_models/multilingual/multi-dataset/your_tts", progress_bar = False, gpu=False)
|
6 |
zh_tts = TTS(model_name="tts_models/zh-CN/baker/tacotron2-DDC-GST", progress_bar=False, gpu=False)
|
7 |
+
de_tts = TTS(model_name = "tts_models/de/thorsten/vits", gpu=False)
|
8 |
+
# de_tts = TTS(model_name = "tts_models/de/thorsten/tacotron2-DCA", gpu=False)
|
9 |
es_tts = TTS(model_name = "tts_models/es/mai/tacotron2-DCA", progress_bar=False, gpu=False)
|
10 |
|
11 |
def text_to_speech(text: str, speaker_wav, speaker_wav_file, language: str):
|