-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (111 loc) · 2.92 KB
/
Copy pathpyproject.toml
File metadata and controls
125 lines (111 loc) · 2.92 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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "captionforge"
version = "0.1.1"
description = "CaptionForge is a local ComfyUI captioning toolkit for preparing better LoRA-ready image datasets. It runs multiple caption witnesses, compares their agreements and contradictions, distills the strongest visual claims, validates them against the image with a VLM, and exports long, short, and taggy TXT captions alongside JSONL audit trails. CaptionForge does not ship model weights: Python-backed Hugging Face models such as Joy and Qwen are downloaded on demand and cached locally, while Ollama-backed stages require a local Ollama installation with the selected model tags installed or pullable."
readme = "README.md"
requires-python = ">=3.10,<3.13"
license = { text = "MIT" }
authors = [
{ name = "J. L. Córdova", email = "jose.l.cordova@gmail.com" }
]
maintainers = [
{ name = "J. L. Córdova", email = "jose.l.cordova@gmail.com" }
]
keywords = [
"comfyui",
"comfyui-nodes",
"comfyui-custom-nodes",
"captioning",
"caption-generation",
"dataset-captioning",
"dataset-preparation",
"image-captioning",
"image-dataset",
"lora",
"lora-training",
"vision-language-models",
"vlm",
"vlm-validation",
"llm",
"multimodal-ai",
"ollama",
"huggingface",
"qwen",
"joycaption",
"jsonl",
"audit-trail",
"local-ai",
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Topic :: Multimedia :: Graphics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"torch",
"transformers",
"accelerate",
"huggingface-hub",
"pillow",
"numpy",
"safetensors",
"qwen-vl-utils",
]
[project.optional-dependencies]
quantization = [
"bitsandbytes",
]
dev = [
"ruff",
"black",
]
[project.urls]
Homepage = "https://github.com/Damkohler/CaptionForge"
Repository = "https://github.com/Damkohler/CaptionForge"
Issues = "https://github.com/Damkohler/CaptionForge/issues"
[tool.comfy]
supported_comfyui_version = ">=0.2"
PublisherId = "damkohler"
DisplayName = "CaptionForge"
Icon = "https://raw.githubusercontent.com/Damkohler/jlc-comfyui-nodes/main/assets/icons/jlc-comfyui-nodes_Logo-0512.png"
Category = "nodes"
Homepage = "https://github.com/Damkohler/CaptionForge"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = [
"engines*",
"nodes*",
]
[tool.setuptools.package-data]
"*" = [
"config/*.json",
"config/**/*.json",
"assets/**/*",
"web/**/*",
]
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"UP",
]
ignore = [
"E501",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"