-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (69 loc) · 1.43 KB
/
pyproject.toml
File metadata and controls
75 lines (69 loc) · 1.43 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ocrflux"
description = "Fast, efficient, and high quality OCR powered by open visual language models"
version = "0.1.0"
readme = "README.md"
classifiers = [
"Intended Audience :: Science/Research",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
authors = [
{name = "Yu Tang", email = "tangyu19@mails.ucas.ac.cn"}
]
requires-python = ">=3.11"
dependencies = [
"cached-path",
"smart_open",
"pypdf>=5.2.0",
"pypdfium2",
"cryptography",
"lingua-language-detector",
"Pillow",
"ftfy",
"bleach",
"markdown2",
"filelock",
"orjson",
"requests",
"zstandard",
"boto3",
"httpx",
"torch>=2.5.1",
"transformers==4.50.0",
"vllm==0.7.3",
"img2pdf",
"nltk",
"bs4",
"distance",
"apted",
"gradio",
"gradio_pdf",
]
license = {file = "LICENSE"}
[project.urls]
Homepage = "https://github.com/chatdoc-com/OCRFlux"
Repository = "https://github.com/chatdoc-com/OCRFlux"
[tool.setuptools.packages.find]
exclude = [
"*.tests",
"*.tests.*",
"tests.*",
"tests",
"docs*",
"scripts*",
"images*"
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
ocrflux = [
"py.typed",
]
[tool.black]
line-length = 79