-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpyproject.toml
58 lines (53 loc) · 1.17 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
[build-system]
requires = ["setuptools>=61", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "detikzify"
readme = "README.md"
license = {text = "Apache-2.0 License"}
dependencies = [
"torch~=2.5.1",
"torchvision~=0.20.1",
"transformers[accelerate,tokenizers]~=4.46.3",
"datasets~=2.21.0",
"Pillow~=10.4.0",
"requests~=2.32.3",
"numpy~=2.1.1",
# pdf
"PyMuPDF~=1.24.10",
"pdf2image~=1.17.0",
"pdfCropMargins~=2.1.4",
# webui
"gradio~=4.38.1",
"fastapi~=0.112.4", # https://github.com/gradio-app/gradio/issues/9278
# evaluate
"POT~=0.9.4",
"torchmetrics~=1.4.1",
]
requires-python = "~=3.11"
dynamic = ["version"]
[project.optional-dependencies]
evaluate = [
"Pygments~=2.18.0",
"crystalbleu~=0.1.0",
"nltk~=3.9.1",
"sacremoses~=0.1.1",
"dreamsim~=0.2.1"
]
examples = [
"detikzify[evaluate]",
"diffusers~=0.30.2"
]
legacy = [
"timm~=1.0.11"
]
deepspeed = [
"deepspeed~=0.15.1"
]
[project.urls]
repository = "https://github.com/potamides/DeTikZify"
[tool.setuptools_scm]
write_to = "detikzify/_version.py"
parentdir_prefix_version = "detikzify-"
[tool.setuptools.packages.find]
include = ["detikzify*"]