-
Notifications
You must be signed in to change notification settings - Fork 33
/
pyproject.toml
91 lines (82 loc) · 1.96 KB
/
pyproject.toml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[virtualenvs]
create = true
in-project = true
[tool.poetry]
name = "openlrc"
version = "1.5.2"
description = "Transcribe (whisper) and translate (gpt) voice into LRC file."
license = "MIT"
authors = [
"Hao Zheng <[email protected]>"
]
readme = "README.md"
homepage = "https://github.com/zh-plus/Open-Lyrics"
keywords = [
'openai-gpt3',
'whisper',
'voice transcribe',
'lrc'
]
classifiers = [
'Programming Language :: Python :: 3',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
"Operating System :: OS Independent",
]
include = [
{ path = 'openlrc' },
]
exclude = [
"openlrc/gui",
"openlrc/gui_streamlit",
]
[tool.poetry.dependencies]
python = ">=3.9, <4.0"
openai = "^1.1.1"
anthropic = "^0.18.1"
tiktoken = "^0.7.0"
langcodes = "^3.3.0"
language-data = "^1.1"
tqdm = "^4.65.0"
audioread = "^3.0.0"
zhconv = "^1.4.3"
punctuators = "^0.0.5"
colorlog = "^6.7.0"
ffmpeg-python = "^0.2.0"
lingua-language-detector = "^1.3.2"
pandas = "^2.0.2"
filetype = "^1.2.0"
jaconvV2 = "^0.4"
spacy = "^3.5.4"
pysbd = "^0.3.4"
faster-whisper = "^1.0.3"
soundfile = "^0.12.1"
ffmpeg-normalize = "^1.27.5"
deepfilternet = "^0.5.6"
aiohttp = "^3.9.4"
ctranslate2 = "4.2.1"
gradio = "^4.26.0"
numpy = "^1.26.4"
google-generativeai = "0.7.0"
json_repair = "0.25.2"
#torch = ">=2.0.0, !=2.0.1"
#torchaudio = "^2.0.0"
#torchvision = "^0.17.1"
#torch = { version = "2.0.1", source = "torch" }
#torchaudio = { version = "2.0.2", source = "torch" }
#torchvision = { version = "0.15.2", source = "torch" }
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
#[[tool.poetry.source]]
#name = "torch"
#url = "https://download.pytorch.org/whl/nightly/cu117"
#priority = "supplemental"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/zh-plus/Open-Lyrics/issues"
[tool.poetry.scripts]
openlrc = "openlrc.cli:main"