Spaces:
Running
Running
Yurii Paniv
commited on
Commit
•
52408fe
1
Parent(s):
f76b5f7
Fix package install
Browse files- app.py +1 -1
- requirements.txt +1 -2
- setup.py +4 -3
app.py
CHANGED
@@ -63,7 +63,7 @@ def tts(text: str, voice: str, speed: float):
|
|
63 |
VoiceOption.Lada.value: Voices.Lada.value,
|
64 |
VoiceOption.Dmytro.value: Voices.Dmytro.value,
|
65 |
}
|
66 |
-
|
67 |
speaker_name = voice_mapping[voice]
|
68 |
text_limit = 7200
|
69 |
text = (
|
|
|
63 |
VoiceOption.Lada.value: Voices.Lada.value,
|
64 |
VoiceOption.Dmytro.value: Voices.Dmytro.value,
|
65 |
}
|
66 |
+
|
67 |
speaker_name = voice_mapping[voice]
|
68 |
text_limit = 7200
|
69 |
text = (
|
requirements.txt
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
# requirements for HuggingFace demo. Installs local package.
|
2 |
torch
|
3 |
espnet>=202301
|
4 |
-
typeguard
|
5 |
-
# typeguard 3.0.0 is incompatible with espnet
|
6 |
num2words==0.5.12
|
7 |
ukrainian-word-stress==1.0.1
|
8 |
git+https://github.com/egorsmkv/ukrainian-accentor.git@5b7971c4e135e3ff3283336962e63fc0b1c80f4c
|
|
|
1 |
# requirements for HuggingFace demo. Installs local package.
|
2 |
torch
|
3 |
espnet>=202301
|
4 |
+
typeguard<3 # typeguard 3.0.0 is incompatible with espnet
|
|
|
5 |
num2words==0.5.12
|
6 |
ukrainian-word-stress==1.0.1
|
7 |
git+https://github.com/egorsmkv/ukrainian-accentor.git@5b7971c4e135e3ff3283336962e63fc0b1c80f4c
|
setup.py
CHANGED
@@ -3,16 +3,17 @@ from setuptools import setup, find_packages
|
|
3 |
|
4 |
setup(
|
5 |
name="ukrainian-tts",
|
6 |
-
version="
|
7 |
description="Ukrainian TTS using ESPNET",
|
8 |
author="Yurii Paniv",
|
9 |
author_email="[email protected]",
|
10 |
url="https://github.com/robinhad/ukrainian-tts",
|
11 |
-
license="
|
12 |
packages=find_packages(),
|
13 |
python_requires=">3.6.0",
|
14 |
install_requires=[
|
15 |
-
"espnet
|
|
|
16 |
"num2words==0.5.12",
|
17 |
"ukrainian-word-stress==1.0.1",
|
18 |
"ukrainian_accentor @ git+https://github.com/egorsmkv/ukrainian-accentor.git@5b7971c4e135e3ff3283336962e63fc0b1c80f4c",
|
|
|
3 |
|
4 |
setup(
|
5 |
name="ukrainian-tts",
|
6 |
+
version="5.0",
|
7 |
description="Ukrainian TTS using ESPNET",
|
8 |
author="Yurii Paniv",
|
9 |
author_email="[email protected]",
|
10 |
url="https://github.com/robinhad/ukrainian-tts",
|
11 |
+
license="MIT",
|
12 |
packages=find_packages(),
|
13 |
python_requires=">3.6.0",
|
14 |
install_requires=[
|
15 |
+
"espnet>=202301",
|
16 |
+
"typeguard<3",
|
17 |
"num2words==0.5.12",
|
18 |
"ukrainian-word-stress==1.0.1",
|
19 |
"ukrainian_accentor @ git+https://github.com/egorsmkv/ukrainian-accentor.git@5b7971c4e135e3ff3283336962e63fc0b1c80f4c",
|