image-data-extractor / pyproject.toml
electblake
chore(runtime): trim dependencies to deployed app
178e9f5
Raw
History Blame Contribute Delete
747 Bytes
[project]
name = "image-data-extractor"
version = "0.1.0"
description = "Extract structured data from document images with NuExtract3"
readme = "README.md"
requires-python = ">=3.12,<3.13"
dependencies = [
"gradio==6.20.0",
"pillow==12.3.0",
"spaces==0.51.1",
"torch==2.11.0",
"torchvision==0.26.0",
"transformers==5.14.1",
]
[dependency-groups]
dev = [
"ruff>=0.15.22",
]
[tool.ruff]
target-version = "py312"
extend-exclude = ["notebooks"]
[tool.ruff.lint]
select = ["B", "E4", "E7", "E9", "F", "I", "SIM", "UP"]
[tool.uv.sources]
torch = { index = "pytorch-cu130" }
torchvision = { index = "pytorch-cu130" }
[[tool.uv.index]]
name = "pytorch-cu130"
url = "https://download.pytorch.org/whl/cu130"
explicit = true