mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
fix(loader): remove deprecated picture description configuration
This commit is contained in:
parent
0b3719cc65
commit
9772c18b20
1 changed files with 1 additions and 7 deletions
|
|
@ -293,14 +293,8 @@ class Loader:
|
||||||
"ocr_lang": self.kwargs.get("DOCLING_OCR_LANG"),
|
"ocr_lang": self.kwargs.get("DOCLING_OCR_LANG"),
|
||||||
"do_picture_description": self.kwargs.get(
|
"do_picture_description": self.kwargs.get(
|
||||||
"DOCLING_DO_PICTURE_DESCRIPTION"
|
"DOCLING_DO_PICTURE_DESCRIPTION"
|
||||||
),
|
|
||||||
"picture_description_local": (
|
|
||||||
'{\n'
|
|
||||||
' "repo_id": "HuggingFaceTB/SmolVLM-256M-Instruct",\n'
|
|
||||||
' "prompt": "Analyze the image and provide a comprehensive, detailed description. Identify all visible objects, their attributes, actions taking place, spatial relationships, and any contextual or inferred connections. Use clear, structured, and informative language suitable for downstream retrieval or knowledge extraction tasks."\n'
|
|
||||||
'}'
|
|
||||||
)
|
)
|
||||||
},
|
}
|
||||||
)
|
)
|
||||||
elif (
|
elif (
|
||||||
self.engine == "document_intelligence"
|
self.engine == "document_intelligence"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue