Spaces:
Running
Running
Yurii Paniv
commited on
Commit
·
58ef124
1
Parent(s):
30f2cde
Fix preprocessing
Browse files- ukrainian_tts/tts.py +1 -1
ukrainian_tts/tts.py
CHANGED
@@ -64,7 +64,7 @@ class TTS:
|
|
64 |
f"Invalid value for voice selected! Please use one of the following values: {', '.join([option.value for option in Voices])}."
|
65 |
)
|
66 |
|
67 |
-
text = preprocess_text(text
|
68 |
text = sentence_to_stress(text, stress_with_model if stress else stress_dict)
|
69 |
|
70 |
# synthesis
|
|
|
64 |
f"Invalid value for voice selected! Please use one of the following values: {', '.join([option.value for option in Voices])}."
|
65 |
)
|
66 |
|
67 |
+
text = preprocess_text(text)
|
68 |
text = sentence_to_stress(text, stress_with_model if stress else stress_dict)
|
69 |
|
70 |
# synthesis
|