Spaces:
Running on Zero
Running on Zero
| [project] | |
| name = "huggingface-gradio-template" | |
| version = "0.1.0" | |
| description = "A boilerplate template for an IBM Granite Huggingface Spaces Gradio Demo" | |
| authors = [{ name = "James Sutton", email = "[email protected]" }] | |
| requires-python = ">=3.10,<3.15" | |
| readme = "README.md" | |
| license = "Apache-2.0" | |
| classifiers = [ | |
| "Programming Language :: Python :: 3", | |
| "Programming Language :: Python :: 3.10", | |
| "Programming Language :: Python :: 3.11", | |
| "Programming Language :: Python :: 3.12", | |
| "Programming Language :: Python :: 3.13", | |
| "Programming Language :: Python :: 3.14", | |
| ] | |
| dependencies = [ | |
| "gradio==5.11.0", | |
| "torch==2.11.0", | |
| "spaces==0.50.2", | |
| "transformers>=4.48.0,<5", | |
| "accelerate>=1.2.1,<2", | |
| "docling_core==2.48.1", | |
| "pydantic==2.10.6", | |
| ] | |
| [dependency-groups] | |
| dev = [ | |
| "pre-commit>=4.0.1,<5", | |
| "git-lint>=0.1.2,<0.2", | |
| "ruff>=0.8.3,<0.9", | |
| "pytest>=8.3.4,<9", | |
| ] | |
| [tool.uv] | |
| package = false | |
| default-groups = "all" | |
| [build-system] | |
| requires = ["uv_build>=0.11.14,<0.12.0"] | |
| build-backend = "uv_build" | |
| [tool.ruff] | |
| select = [ | |
| "E", # pycodestyle | |
| "F", # pyflakes | |
| "UP", # pyupgrade | |
| "D", # pydocstyle | |
| "I", # isort | |
| "B", # bugbear | |
| "ANN", # annotations | |
| "N", # pep8-naming | |
| "C4", # Comprehensions | |
| "DTZ", # DatetimeZ | |
| "Q", # Quotes | |
| "SIM", # Simplify | |
| "RUF", # Ruff | |
| ] | |
| ignore = ["D203", "D213"] | |
| fixable = ["ALL"] | |
| unfixable = [] | |
| line-length = 120 | |
| [tool.black] | |
| line-length = 120 | |
| [tool.ruff.lint.pydocstyle] | |
| convention = "google" | |