mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-31 14:34:40 +00:00
add option in the example
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
291c91fe96
commit
6b1d88b54a
@ -20,7 +20,9 @@ def main():
|
||||
# For example, you can launch it locally with:
|
||||
# $ vllm serve "HuggingFaceTB/SmolVLM-256M-Instruct"
|
||||
|
||||
pipeline_options = PdfPipelineOptions()
|
||||
pipeline_options = PdfPipelineOptions(
|
||||
allow_remote_services=True # <-- this is required!
|
||||
)
|
||||
pipeline_options.do_picture_description = True
|
||||
pipeline_options.picture_description_options = PictureDescriptionApiOptions(
|
||||
url="http://localhost:8000/v1/chat/completions",
|
||||
|
Loading…
Reference in New Issue
Block a user