forked from nomadkaraoke/python-lyrics-transcriber
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (45 loc) · 1.71 KB
/
Copy pathpyproject.toml
File metadata and controls
51 lines (45 loc) · 1.71 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
[tool.poetry]
name = "lyrics-transcriber"
version = "0.17.2"
description = "Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify"
authors = ["Andrew Beveridge <andrew@beveridge.uk>"]
license = "MIT"
readme = "README.md"
packages = [{ include = "lyrics_transcriber" }]
homepage = "https://github.com/karaokenerds/python-lyrics-transcriber"
repository = "https://github.com/karaokenerds/python-lyrics-transcriber"
documentation = "https://github.com/karaokenerds/python-lyrics-transcriber/blob/main/README.md"
[tool.poetry.dependencies]
python = ">=3.9"
Cython = ">=0"
dtw-python = ">=1"
llvmlite = ">=0"
numba = ">=0.57"
numpy = ">=1"
onnx = ">=1"
onnxruntime = ">=1"
torch = ">=1"
tqdm = ">=4"
lyricsgenius = ">=3"
python-slugify = ">=8"
syrics = ">=0"
openai = "^1"
openai-whisper = ">=20231117"
transformers = ">=4"
auditok = ">=0.2"
whisper-timestamped = ">=1"
tenacity = ">=8"
# Note: after adding openai-whisper and whisper-timestamped with poetry lock, I then removed all traces of triton
# from poetry.lock before running poetry install, as triton doesn't support macOS but isn't actually needed for whisper.
# This was the only way I was able to get a working cross-platform build published to PyPI.
# To update the lockfile and install/upgrade dependencies, modify the dependency list above then run:
# poetry lock; patch -p0 poetry.lock <.github/removetriton.patch; poetry install
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
[tool.black]
line-length = 140
[tool.poetry.scripts]
lyrics-transcriber = 'lyrics_transcriber.utils.cli:main'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"