update app
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ import torch
|
|
4 |
import scipy.io.wavfile
|
5 |
from ruaccent import RUAccent
|
6 |
|
7 |
-
speakers={"
|
8 |
-
"
|
9 |
|
10 |
model = VitsModel.from_pretrained("utrobinmv/tts_ru_free_hf_vits_low_multispeaker")
|
11 |
tokenizer = AutoTokenizer.from_pretrained("utrobinmv/tts_ru_free_hf_vits_low_multispeaker")
|
|
|
4 |
import scipy.io.wavfile
|
5 |
from ruaccent import RUAccent
|
6 |
|
7 |
+
speakers={"woman": 0,
|
8 |
+
"man": 1}
|
9 |
|
10 |
model = VitsModel.from_pretrained("utrobinmv/tts_ru_free_hf_vits_low_multispeaker")
|
11 |
tokenizer = AutoTokenizer.from_pretrained("utrobinmv/tts_ru_free_hf_vits_low_multispeaker")
|