mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
feat(loader): add picture description configuration for DoclingLoader
This commit is contained in:
parent
7ef2345ba6
commit
8644e81a1c
@ -294,6 +294,12 @@ class Loader:
|
||||
"do_picture_classification": self.kwargs.get(
|
||||
"DOCLING_DO_PICTURE_DESCRIPTION"
|
||||
),
|
||||
"picture_description_local": (
|
||||
'{\n'
|
||||
' "repo_id": "HuggingFaceTB/SmolVLM-256M-Instruct",\n'
|
||||
' "prompt": "Describe the image in detail, including objects, actions, and connections. Use a descriptive and informative style."\n'
|
||||
'}'
|
||||
)
|
||||
},
|
||||
)
|
||||
elif (
|
||||
|
Loading…
Reference in New Issue
Block a user