| [build-system] |
| requires = ["hatchling"] |
| build-backend = "hatchling.build" |
|
|
| [project] |
| name = "omnivoice" |
| version = "0.1.5" |
| description = "OmniVoice: Towards Omnilingual Zero-Shot Text-to-Speech with Diffusion Language Models" |
| readme = "README.md" |
| license = "Apache-2.0" |
| requires-python = ">=3.10" |
| authors = [{name = "Han Zhu"}] |
| keywords = [ |
| "tts", |
| "text-to-speech", |
| "speech-synthesis", |
| "zero-shot", |
| "multilingual", |
| "diffusion", |
| "voice-cloning", |
| ] |
| classifiers = [ |
| "Intended Audience :: Science/Research", |
| "Intended Audience :: Developers", |
|
|
| "Topic :: Scientific/Engineering :: Artificial Intelligence", |
| "Topic :: Multimedia :: Sound/Audio :: Speech", |
|
|
| "Operating System :: OS Independent", |
| "Programming Language :: Python :: 3", |
| ] |
| dependencies = [ |
| "torch>=2.4", |
| "torchaudio>=2.4", |
| "transformers>=5.3.0", |
| "accelerate", |
| "pydub", |
| "gradio", |
| "tensorboardX", |
| "webdataset", |
| "numpy", |
| "soundfile", |
| "librosa", |
| "uvicorn>=0.42.0", |
| "fastapi>=0.135.2", |
| ] |
|
|
| [project.optional-dependencies] |
|
|
| eval = [ |
| "jiwer==3.1.0", |
| "s3prl", |
| "funasr", |
| "zhconv", |
| "zhon", |
| "unidecode", |
| ] |
|
|
| [project.scripts] |
| omnivoice-infer = "omnivoice.cli.infer:main" |
| omnivoice-infer-batch = "omnivoice.cli.infer_batch:main" |
| omnivoice-demo = "omnivoice.cli.demo:main" |
|
|
| [project.urls] |
| Homepage = "https://github.com/k2-fsa/OmniVoice" |
| Repository = "https://github.com/k2-fsa/OmniVoice" |
| "Bug Tracker" = "https://github.com/k2-fsa/OmniVoice/issues" |
|
|
| [tool.uv.sources] |
| |
| |
| |
| torch = [ |
| { index = "pytorch-cuda", marker = "sys_platform == 'linux' or sys_platform == 'win32'" }, |
| ] |
| torchaudio = [ |
| { index = "pytorch-cuda", marker = "sys_platform == 'linux' or sys_platform == 'win32'" }, |
| ] |
|
|
| [[tool.uv.index]] |
| name = "pytorch-cuda" |
| |
| |
| url = "https://download.pytorch.org/whl/cu128" |
| |
| explicit = true |
|
|
| [tool.uv] |
| constraint-dependencies = [ |
| "torch==2.8.0", |
| "torchaudio==2.8.0", |
| ] |
|
|
| [tool.hatch.build.targets.sdist] |
| include = ["omnivoice"] |
|
|
| [tool.hatch.build.targets.wheel] |
| packages = ["omnivoice"] |
|
|