feat update readme
Browse files
README.md
CHANGED
@@ -8,11 +8,13 @@ pipeline_tag: text-to-speech
|
|
8 |
widget:
|
9 |
- example_title: text to speech
|
10 |
text: >
|
11 |
-
|
12 |
---
|
13 |
|
14 |
# VITS model Text to Speech Russian
|
15 |
|
|
|
|
|
16 |
Example Text to Speech
|
17 |
|
18 |
```python
|
@@ -24,6 +26,7 @@ model = VitsModel.from_pretrained("joefox/tts_vits_ru_hf")
|
|
24 |
tokenizer = AutoTokenizer.from_pretrained("joefox/tts_vits_ru_hf")
|
25 |
|
26 |
text = "Привет, как дел+а? Всё +очень хорош+о! А у тебя как?"
|
|
|
27 |
inputs = tokenizer(text, return_tensors="pt")
|
28 |
inputs['speaker_id'] = 3
|
29 |
|
|
|
8 |
widget:
|
9 |
- example_title: text to speech
|
10 |
text: >
|
11 |
+
прив+ет, как дел+а? всё +очень хорош+о! а у тебя как?
|
12 |
---
|
13 |
|
14 |
# VITS model Text to Speech Russian
|
15 |
|
16 |
+
The text accepts lowercase
|
17 |
+
|
18 |
Example Text to Speech
|
19 |
|
20 |
```python
|
|
|
26 |
tokenizer = AutoTokenizer.from_pretrained("joefox/tts_vits_ru_hf")
|
27 |
|
28 |
text = "Привет, как дел+а? Всё +очень хорош+о! А у тебя как?"
|
29 |
+
text = text.lower()
|
30 |
inputs = tokenizer(text, return_tensors="pt")
|
31 |
inputs['speaker_id'] = 3
|
32 |
|