File size: 1,676 Bytes
d3f86d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7b8563d
 
a4093da
7b8563d
869e4d2
a4093da
 
2c9f03f
d3f86d8
 
 
 
 
 
 
 
 
 
 
8f38664
d3f86d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "hfstudio"
dynamic = ["version"]
description = "Local and API-based Text-to-Speech Studio"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [
    {name = "HFStudio Team"}
]
classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "Topic :: Multimedia :: Sound/Audio :: Speech",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
]
dependencies = [
    "fastapi>=0.100.0",
    "uvicorn[standard]>=0.20.0",
    "typer[all]>=0.9.0",
    "pydantic>=2.0.0",
    "huggingface-hub>=0.20.0",
    "httpx>=0.25.0",
    "numpy>=1.21.0,<2.0",
    "soundfile>=0.12.0",
    "sqlalchemy>=2.0.0",
    "transformers>=4.21.0",
    "torch>=1.12.0",
    "pydub>=0.25.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=7.0.0",
    "pytest-asyncio>=0.21.0",
    "black>=23.0.0",
    "ruff>=0.1.0",
]

[project.scripts]
hfstudio = "hfstudio.cli:app"

[project.urls]
Homepage = "https://github.com/yourusername/hfstudio"
Repository = "https://github.com/yourusername/hfstudio"

[tool.setuptools]
packages = ["hfstudio"]

[tool.setuptools.package-data]
hfstudio = ["frontend/package.json", "static/**/*"]

[tool.setuptools.dynamic]
version = {attr = "hfstudio.__version__"}

[tool.ruff]
line-length = 88
target-version = "py38"

[tool.black]
line-length = 88
target-version = ['py38']