mirror of
https://github.com/allenai/olmocr.git
synced 2025-07-24 17:43:34 +00:00
Pyproject stuff
This commit is contained in:
parent
84e68f313e
commit
0cc2b5d7cf
@ -23,8 +23,7 @@ dependencies = [
|
|||||||
"pypdf",
|
"pypdf",
|
||||||
"pymupdf",
|
"pymupdf",
|
||||||
"pypdfium2",
|
"pypdfium2",
|
||||||
"lingua-language-detector",
|
"lingua-language-detector"
|
||||||
"https://github.com/kpu/kenlm/archive/master.zip",
|
|
||||||
]
|
]
|
||||||
license = {file = "LICENSE"}
|
license = {file = "LICENSE"}
|
||||||
|
|
||||||
@ -56,6 +55,13 @@ dev = [
|
|||||||
"packaging"
|
"packaging"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
train = [
|
||||||
|
"torch",
|
||||||
|
"torchvision",
|
||||||
|
"transformers @ git+https://github.com/huggingface/transformers.git@f9b44097261270377199bb0fcbceb01fd9f7d0c0"
|
||||||
|
]
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
exclude = [
|
exclude = [
|
||||||
"*.tests",
|
"*.tests",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user