Yurii Paniv
commited on
Commit
5fa927d
• 1
Parent(s):
c49c056
Make dictionary a default value for accentor
Browse files
README.md
CHANGED
@@ -61,7 +61,7 @@ from ukrainian_tts.tts import TTS, Voices, StressOption
|
|
61 |
|
62 |
tts = TTS()
|
63 |
with open("test.wav", mode="wb") as file:
|
64 |
-
_, text = tts.tts("Привіт", Voices.Olena.value, StressOption.
|
65 |
print("Accented text:", text)
|
66 |
```
|
67 |
|
61 |
|
62 |
tts = TTS()
|
63 |
with open("test.wav", mode="wb") as file:
|
64 |
+
_, text = tts.tts("Привіт", Voices.Olena.value, StressOption.Dictionary.value, file)
|
65 |
print("Accented text:", text)
|
66 |
```
|
67 |
|