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