mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 16:16:48 +00:00
standalone OCR
This commit is contained in:
1 parent
d4e92be0ab
commit
96b878217d
27 files changed
+1995
-152
No files matched your search
@@ -18,9 +18,11 @@ services:
|
||||
build:
|
||||
context: ../application
|
||||
args:
|
||||
# Bake the optional docling engine (OCR, structured output) into the
|
||||
# image: set INSTALL_DOCLING=true in ../.env or the shell.
|
||||
# Bake the optional docling engine (layout-model OCR backend, structured
|
||||
# output) into the image: set INSTALL_DOCLING=true in ../.env or the shell.
|
||||
INSTALL_DOCLING: ${INSTALL_DOCLING:-false}
|
||||
# The tesseract binary behind OCR_ENABLED=true; on by default (~35 MB).
|
||||
INSTALL_TESSERACT: ${INSTALL_TESSERACT:-true}
|
||||
env_file:
|
||||
- ../.env
|
||||
environment:
|
||||
@@ -47,6 +49,7 @@ services:
|
||||
context: ../application
|
||||
args:
|
||||
INSTALL_DOCLING: ${INSTALL_DOCLING:-false}
|
||||
INSTALL_TESSERACT: ${INSTALL_TESSERACT:-true}
|
||||
# Consumes the default queue AND the dedicated `parsing` queue (read_document /
|
||||
# parse_document). Without `parsing` here the read_document await never resolves.
|
||||
# For heavy/OCR parsing run a separate worker with `-Q parsing`.
|
||||
|
||||
Reference in new issue
Block a user