mirror of
https://github.com/shivammehta25/Matcha-TTS.git
synced 2026-02-05 18:29:19 +08:00
Minor release till I release checkpoints and urls
This commit is contained in:
@@ -199,7 +199,10 @@ def get_user_data_dir(appname="matcha_tts"):
|
|||||||
ans = Path("~/Library/Application Support/").expanduser()
|
ans = Path("~/Library/Application Support/").expanduser()
|
||||||
else:
|
else:
|
||||||
ans = Path.home().joinpath(".local/share")
|
ans = Path.home().joinpath(".local/share")
|
||||||
return ans.joinpath(appname)
|
|
||||||
|
final_path = ans.joinpath(appname)
|
||||||
|
final_path.mkdir(parents=True, exist_ok=True)
|
||||||
|
return final_path
|
||||||
|
|
||||||
|
|
||||||
def assert_model_downloaded(checkpoint_path, url, use_wget=False):
|
def assert_model_downloaded(checkpoint_path, url, use_wget=False):
|
||||||
|
|||||||
10
setup.py
10
setup.py
@@ -17,8 +17,8 @@ with open("README.md", "r", encoding="utf-8") as readme_file:
|
|||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="matcha_tts",
|
name="matcha-tts",
|
||||||
version="0.1.0",
|
version="0.0.1",
|
||||||
description="🍵 Matcha-TTS: A fast TTS architecture with conditional flow matching",
|
description="🍵 Matcha-TTS: A fast TTS architecture with conditional flow matching",
|
||||||
long_description=README,
|
long_description=README,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
@@ -36,11 +36,11 @@ setup(
|
|||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
"matcha-data-stats=matcha.utils.generate_data_statistics:main",
|
"matcha-data-stats=matcha.utils.generate_data_statistics:main",
|
||||||
"matcha_tts=matcha.cli:cli",
|
"matcha-tts=matcha.cli:cli",
|
||||||
"matcha_tts-app=matcha.app:main",
|
"matcha-tts-app=matcha.app:main",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
ext_modules=cythonize(exts, language_level=3),
|
ext_modules=cythonize(exts, language_level=3),
|
||||||
python_requires=">=3.10.0",
|
python_requires=">=3.9.0",
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user