Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@ from espnet2.bin.tts_inference import Text2Speech
|
|
10 |
from espnet2.utils.types import str_or_none
|
11 |
|
12 |
text2speech = Text2Speech.from_pretrained(
|
13 |
-
train_config="
|
14 |
-
model_file="
|
15 |
vocoder_tag=str_or_none(vocoder_tag),
|
16 |
device="cuda",
|
17 |
# Only for Tacotron 2 & Transformer
|
|
|
10 |
from espnet2.utils.types import str_or_none
|
11 |
|
12 |
text2speech = Text2Speech.from_pretrained(
|
13 |
+
train_config="tts_model/exp/tts_train_vits_raw_phn_tacotron_g2p_en_no_space/config.yaml",
|
14 |
+
model_file="tts_model/exp/tts_train_vits_raw_phn_tacotron_g2p_en_no_space/train.total_count.ave_10best.pth",
|
15 |
vocoder_tag=str_or_none(vocoder_tag),
|
16 |
device="cuda",
|
17 |
# Only for Tacotron 2 & Transformer
|