50 lines
1.4 KiB
Python
50 lines
1.4 KiB
Python
|
|
import platform
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
setup(
|
|
name="indextts",
|
|
version="0.1.1",
|
|
author="Index SpeechTeam",
|
|
author_email="xuanwu@bilibili.com",
|
|
long_description=open("README.md", encoding="utf8").read(),
|
|
long_description_content_type="text/markdown",
|
|
description="An Industrial-Level Controllable and Efficient Zero-Shot Text-To-Speech System",
|
|
url="https://github.com/index-tts/index-tts",
|
|
packages=find_packages(),
|
|
include_package_data=True,
|
|
install_requires=[
|
|
"torch>=2.1.2",
|
|
"torchaudio",
|
|
"transformers==4.36.2",
|
|
"accelerate",
|
|
"tokenizers==0.15.0",
|
|
"einops==0.8.1",
|
|
"matplotlib==3.8.2",
|
|
"omegaconf",
|
|
"sentencepiece",
|
|
"librosa",
|
|
"numpy",
|
|
"wetext" if platform.system() == "Darwin" else "WeTextProcessing",
|
|
],
|
|
extras_require={
|
|
"webui": ["gradio"],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"indextts = indextts.cli:main",
|
|
]
|
|
},
|
|
license="Apache-2.0",
|
|
python_requires=">=3.10",
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"Operating System :: OS Independent",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Intended Audience :: Science/Research",
|
|
"Topic :: Scientific/Engineering",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
],
|
|
) |