Spaces:
Running
Running
File size: 1,569 Bytes
cd1309d 5ae79ee cd1309d 5ae79ee cd1309d 5ae79ee 9740afc 5ae79ee 7b1ef22 2d46a24 5ae79ee cd1309d 5ae79ee cd1309d 2f4a906 5ae79ee 2f4a906 cd1309d 5ae79ee |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
[tool.poetry]
name = "audio-translator"
version = "0.1.0"
description = "High-quality audio translation web application"
authors = ["Your Name <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/yourusername/audio-translator"
repository = "https://github.com/yourusername/audio-translator"
keywords = ["nlp", "translation", "speech-processing"]
[tool.poetry.dependencies]
python = "^3.9"
# Core application dependencies
streamlit = ">=1.31,<2.0"
python-dotenv = ">=1.0"
nltk = ">=3.8"
librosa = ">=0.10"
soundfile = ">=0.12"
ffmpeg-python = ">=0.2"
kokoro = ">=0.7.9"
# Machine learning dependencies
#torch = [
# { version = ">=2.0,<3.0", source = "pytorch", markers = "sys_platform != 'darwin'" },
# { version = ">=2.0,<3.0", source = "pytorch-mac", markers = "sys_platform == 'darwin'" }
#]
torch = { version = ">=2.0,<3.0" }
transformers = { version = ">=4.33", extras = ["audio"] }
TTS = ">=0.20,<1.0"
# Platform-specific audio dependencies
torchaudio = { version = ">=2.0,<3.0", optional = true }
[build-system]
requires = ["poetry-core>=1.3"]
build-backend = "poetry.core.masonry.api"
[[tool.poetry.source]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cpu"
priority = "supplemental"
[[tool.poetry.source]]
name = "pytorch-mac"
url = "https://download.pytorch.org/whl/cpu"
priority = "supplemental"
[[tool.poetry.source]]
name = "tsinghua"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
priority = "primary"
[tool.poetry.extras]
gpu = ["torchaudio"]
[tool.poetry.scripts]
start = "app:main" |