Spaces:
Sleeping
Sleeping
Michael Hu
chore: update dependencies and replace NeMo with HF transformers for Parakeet STT provider
c762284
| [project] | |
| name = "audio-translator" | |
| version = "0.1.0" | |
| description = "High-quality audio translation web application" | |
| authors = [ | |
| {name = "Your Name", email = "your.email@example.com"} | |
| ] | |
| license = {text = "MIT"} | |
| readme = "README.md" | |
| requires-python = ">=3.10" | |
| dependencies = [ | |
| "gradio>=5.25.2", | |
| "nltk>=3.8", | |
| "librosa>=0.10", | |
| "ffmpeg-python>=0.2", | |
| "transformers[audio]>=4.33", | |
| "torch>=2.1.0", | |
| "torchaudio>=2.1.0", | |
| "scipy>=1.11", | |
| "numpy>=1.26.0", | |
| "pandas>=2.2.0", | |
| "munch>=2.5", | |
| "accelerate>=1.2.0", | |
| "soundfile>=0.13.0", | |
| "ordered-set>=4.1.0", | |
| "phonemizer-fork>=3.3.2", | |
| "faster-whisper>=1.1.1", | |
| "chatterbox-tts", | |
| ] | |
| [project.optional-dependencies] | |
| dev = [ | |
| "pytest>=7.0", | |
| "pytest-cov>=4.0", | |
| "pytest-mock>=3.10", | |
| "black>=23.0", | |
| "flake8>=6.0", | |
| "mypy>=1.0", | |
| ] | |
| [build-system] | |
| requires = ["hatchling"] | |
| build-backend = "hatchling.build" | |
| [tool.hatch.build.targets.wheel] | |
| packages = ["src"] | |
| [tool.pytest.ini_options] | |
| testpaths = ["tests"] | |
| python_files = ["test_*.py", "*_test.py"] | |
| python_classes = ["Test*"] | |
| python_functions = ["test_*"] | |
| addopts = "-v --tb=short" | |
| [tool.black] | |
| line-length = 100 | |
| target-version = ['py39'] | |
| [tool.mypy] | |
| python_version = "3.10" | |
| warn_return_any = true | |
| warn_unused_configs = true | |
| disallow_untyped_defs = true |