-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (47 loc) · 1.18 KB
/
Copy pathpyproject.toml
File metadata and controls
52 lines (47 loc) · 1.18 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[project]
name = "auto-asr"
version = "0.1.0"
description = "Gradio UI for OpenAI ASR -> SRT/VTT/TXT"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"gradio",
"typer",
"openai",
"json-repair",
"numpy<2.2",
"soundfile",
"imageio-ffmpeg",
"silero_vad",
]
[project.optional-dependencies]
funasr = [
"funasr",
"modelscope",
# Some FunASR models rely on HuggingFace tokenizers (AutoTokenizer).
"transformers",
"sentencepiece",
# SenseVoice/FunASR-Nano tokenizers may require `tiktoken`.
"tiktoken",
]
transformers = [
# Transformers backend runtime for local ASR models (e.g. Qwen3-ASR).
"transformers",
"sentencepiece",
# Used by our model downloader (ModelScope preferred, HF fallback).
"modelscope",
"huggingface_hub",
# Qwen3-ASR wrapper library (Transformers backend + forced aligner).
"qwen-asr",
]
[dependency-groups]
dev = ["ruff", "pytest"]
[tool.ruff]
line-length = 100
target-version = "py310"
extend-exclude = ["Qwen3-ASR-Toolkit", "GPT-SoVITS", "miku"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
ignore = ["RUF001"]
[tool.pytest.ini_options]
testpaths = ["tests"]