File size: 747 Bytes
2c91fea
74bbc85
2c91fea
178e9f5
2c91fea
 
 
178e9f5
 
 
b443080
178e9f5
 
2c91fea
 
fed3258
 
 
 
 
 
 
 
 
 
 
 
2c91fea
 
7b43125
2c91fea
 
 
 
 
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
[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