Spaces:
Build error
Build error
[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", | |
"munch>=2.5", | |
"accelerate>=1.2.0", | |
"soundfile>=0.13.0", | |
"ordered-set>=4.1.0", | |
"phonemizer-fork>=3.3.2", | |
"nemo_toolkit[asr]", | |
"faster-whisper>=1.1.1", | |
"chatterbox-tts", | |
"YouTokenToMe = { git = "https://github.com/LahiLuk/YouTokenToMe", branch = "main" }" | |
] | |
[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 |