-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.py
64 lines (61 loc) · 1.76 KB
/
setup.py
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
from setuptools import find_packages, setup
from whisperkit._version import __version__
with open('README.md') as f:
readme = f.read()
setup(
name='whisperkit',
version=__version__,
url='https://github.com/argmaxinc/whisperkittools',
description="Argmax WhisperKit Optimization Toolkit",
long_description=readme,
long_description_content_type='text/markdown',
author='Argmax, Inc.',
install_requires=[
"argmaxtools",
"transformers",
"huggingface-hub",
],
extras_require={
"pipelines": [
"openai",
"mlx-whisper",
],
"diarization": [
"pyannote-audio",
],
"evals": [
"jiwer",
"soundfile",
"librosa",
"datasets",
"evaluate",
"transliterate",
"openai",
"mlx-whisper",
],
"android": [
"qai-hub",
"qai_hub_models"
]
},
packages=find_packages(),
entry_points={
"console_scripts": [
"whisperkit-generate-model=scripts.generate_model:cli",
"whisperkit-evaluate-model=scripts.evaluate_model:cli",
"whisperkit-generate-readme=scripts.generate_readme:cli",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
],
)