Spaces:
Running
Running
Yurii Paniv
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -67,7 +67,7 @@ from ukrainian_tts.tts import TTS, Voices, Stress
|
|
67 |
|
68 |
tts = TTS()
|
69 |
with open("test.wav", mode="wb") as file:
|
70 |
-
_, text = tts.tts("Привіт", Voices.Dmytro.value, Stress.
|
71 |
print("Accented text:", text)
|
72 |
```
|
73 |
|
|
|
67 |
|
68 |
tts = TTS()
|
69 |
with open("test.wav", mode="wb") as file:
|
70 |
+
_, text = tts.tts("Привіт", Voices.Dmytro.value, Stress.Dictionary.value, file)
|
71 |
print("Accented text:", text)
|
72 |
```
|
73 |
|