mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
fix: add easyocr to main deps for valid extra
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
3e92f0bfba
commit
f4d5bd4336
@ -32,3 +32,10 @@ repos:
|
||||
# pass_filenames: false
|
||||
# language: system
|
||||
# files: '\.py$'
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: system
|
||||
name: Poetry check
|
||||
entry: poetry check --lock
|
||||
pass_filenames: false
|
||||
language: system
|
||||
|
6
poetry.lock
generated
6
poetry.lock
generated
@ -4875,10 +4875,10 @@ doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linke
|
||||
test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more-itertools", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy", "pytest-ruff (>=0.2.1)"]
|
||||
|
||||
[extras]
|
||||
easyocr = []
|
||||
ocr = []
|
||||
easyocr = ["easyocr"]
|
||||
ocr = ["easyocr"]
|
||||
|
||||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = "^3.10"
|
||||
content-hash = "73028669d2cdf3926d52d02543d1dcfd9987fd4eba1a0cff3c5d17717963f04d"
|
||||
content-hash = "e480591202d3ed9f8be512efa02d10962a3842eedb67d06eaaeca17e08b15920"
|
||||
|
@ -30,6 +30,7 @@ filetype = "^1.2.0"
|
||||
pypdfium2 = "^4.30.0"
|
||||
pydantic-settings = "^2.3.0"
|
||||
huggingface_hub = ">=0.23,<1"
|
||||
easyocr = { version = "^1.7", optional = true }
|
||||
|
||||
[tool.poetry.group.ocr.dependencies]
|
||||
easyocr = "^1.7"
|
||||
|
Loading…
Reference in New Issue
Block a user