mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 08:17:34 +00:00
docling separation
This commit is contained in:
1 parent
e101c0a7f1
commit
d7a7d4d084
12 files changed
+100
-13
No files matched your search
@@ -365,7 +365,10 @@ configure_doc_processing() {
|
||||
read -p "$(echo -e "${DEFAULT_FG}Enable OCR for document processing (Docling)? (y/N): ${NC}")" ocr_enabled
|
||||
if [[ "$ocr_enabled" =~ ^[yY]$ ]]; then
|
||||
echo "DOCLING_OCR_ENABLED=true" >> "$ENV_FILE"
|
||||
echo -e "${GREEN}Docling OCR enabled.${NC}"
|
||||
# OCR needs the optional docling engine; locally built images include
|
||||
# it via this build arg (hub images must be published with it baked in).
|
||||
echo "INSTALL_DOCLING=true" >> "$ENV_FILE"
|
||||
echo -e "${GREEN}Docling OCR enabled (locally built images will include the docling engine).${NC}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user