Skip to content

Commit 1c152f7

Browse files
committed
Enable cache for PdfToMarkdown in pdf_embedding example.
1 parent 2993670 commit 1c152f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pdf_embedding/pdf_embedding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class PdfToMarkdown(cocoindex.op.FunctionSpec):
1212
"""Convert a PDF to markdown."""
1313

14-
@cocoindex.op.executor_class(gpu=True)
14+
@cocoindex.op.executor_class(gpu=True, cache=True, behavior_version=1)
1515
class PdfToMarkdownExecutor:
1616
"""Executor for PdfToMarkdown."""
1717

0 commit comments

Comments
 (0)