Download pyproject.toml from data-archetype/dflow_2b: direct link, hf CLI and curl.
- Browser
- Download file 678 Bytes
-
https://huggingface.co/data-archetype/dflow_2b/resolve/main/pyproject.toml
- Command line
-
hf download hf://data-archetype/dflow_2b/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/data-archetype/dflow_2b/resolve/main/pyproject.toml
678 Bytes
| [build-system] | |
| requires = ["hatchling>=1.28,<2"] | |
| build-backend = "hatchling.build" | |
| [project] | |
| name = "dflow" | |
| dynamic = ["version"] | |
| description = "Inference package for the dflow_2b text-to-image model" | |
| readme = "README.md" | |
| requires-python = ">=3.12" | |
| license = { file = "LICENSE" } | |
| dependencies = [ | |
| "torch>=2.13", | |
| "huggingface-hub>=1.15,<2", | |
| "numpy>=2,<3", | |
| "pillow>=12,<13", | |
| "safetensors>=0.7", | |
| "scipy>=1.17,<2", | |
| "timm==1.0.26", | |
| "torchsde==0.2.6", | |
| "transformers>=5.12,<6", | |
| ] | |
| [project.optional-dependencies] | |
| diffusers = ["diffusers>=0.40"] | |
| [tool.hatch.build.targets.wheel] | |
| packages = ["dflow"] | |
| [tool.hatch.version] | |
| path = "dflow/version.py" | |