diff --git a/README.md b/README.md index 9bb246a..e38c520 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ emoji: 🐌 colorFrom: blue colorTo: yellow sdk: gradio -sdk_version : 3.40.1 +sdk_version : 5.7.1 python_version: 3.10.3 app_file: app.py pinned: false diff --git a/app.py b/app.py index b282483..87c29cf 100644 --- a/app.py +++ b/app.py @@ -129,5 +129,5 @@ def tts(text: str, voice: str): ], ], ) -iface.queue(concurrency_count=1) # for HF specifically +iface.queue() # for HF specifically iface.launch() diff --git a/requirements.txt b/requirements.txt index 8f8e362..61ebc6f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,8 +4,8 @@ espnet==202301 typeguard<3 # typeguard 3.0.0 is incompatible with espnet git+https://github.com/savoirfairelinux/num2words.git@3e39091d052829fc9e65c18176ce7b7ff6169772 ukrainian-word-stress==1.1.0 -stanza==1.7 # fix for ukrainian-word-stress +stanza # ==1.7 # fix for ukrainian-word-stress git+https://github.com/egorsmkv/ukrainian-accentor.git@5b7971c4e135e3ff3283336962e63fc0b1c80f4c -gradio # 3.34 +gradio # 5.7.1 huggingface_hub # ==0.11.1 scipy<1.12.0 # fix for espnet, need to update espnet version \ No newline at end of file diff --git a/ukrainian_tts/__init__.py b/ukrainian_tts/__init__.py index 8b13789..db813a2 100644 --- a/ukrainian_tts/__init__.py +++ b/ukrainian_tts/__init__.py @@ -1 +1,2 @@ - +import stanza +stanza.download("uk") \ No newline at end of file