Skip to content

Commit d0c6d50

Browse files
committed
note on local inference
1 parent 7f9aefc commit d0c6d50

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: docs/source/bricks.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ Examples:
129129
---------------------
130130

131131
The ``partition_pdf`` function segments a PDF document by using a document image analysis model.
132-
If you set ``url=None``, the document image analysis model will execute locally. If you set
133-
the URL, ``partition_pdf`` will make a call to a remote inference server.
132+
If you set ``url=None``, the document image analysis model will execute locally. You need to install ``unstructured[local-inference]``
133+
if you'd like to run inference locally.
134+
If you set the URL, ``partition_pdf`` will make a call to a remote inference server.
134135
``partition_pdf`` also includes a ``token`` function that allows you to pass in an authentication
135136
token for a remote API call.
136137

0 commit comments

Comments
 (0)