Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
35 lines (31 loc) · 1.4 KB
/
Copy pathpyproject.toml
File metadata and controls
35 lines (31 loc) · 1.4 KB
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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "tiny-voca"
version = "0.2.0"
description = "A 4.5M-parameter two-voice text-to-speech model trained from scratch, in Spanish and English"
readme = "README.md"
authors = [{ name = "Muhammed Nazeem" }]
license = { text = "Apache-2.0" }
requires-python = ">=3.10"
dependencies = ["torch>=2.4,<3", "numpy>=1.24,<3", "soundfile>=0.12,<1"]
[project.optional-dependencies]
# The "own" front end: text to phonemes without eSpeak.
own = ["dizione @ git+https://github.com/n4ze3m/dizione"]
prepare = ["librosa>=0.10.2,<1", "pyarrow>=15", "huggingface-hub>=0.34,<2"]
# Annotation only: the pretrained phoneme recogniser used for forced alignment.
annotate = ["transformers>=4.40,<5", "torchaudio>=2.1,<3", "scipy>=1.10,<2", "huggingface-hub>=0.34,<2"]
# Evaluation only: ASR scoring and comparison with recordings.
evaluate = ["faster-whisper>=1.0,<2", "jiwer>=3,<5", "librosa>=0.10.2,<1", "scipy>=1.10,<2"]
# ONNX export and the browser/ONNX Runtime path.
export = ["onnx>=1.15,<2", "onnxruntime>=1.17,<2"]
[project.scripts]
tiny-voca-prepare = "tiny_voca.prepare:main"
tiny-voca-annotate = "tiny_voca.annotate:main"
tiny-voca-train = "tiny_voca.train:main"
tiny-voca-evaluate = "tiny_voca.evaluate:main"
tiny-voca-speak = "tiny_voca.infer:main"
tiny-voca-inspect = "tiny_voca.inspect:main"
[tool.setuptools.packages.find]
where = ["src"]