docs: add quotes to unstructured[local-inference] install instructions (#1208)

### Summary

Corrects the install instruction for local inference to `pip install
"unstructured[local-inference]"`
This commit is contained in:
Matt Robinson 2023-02-21 11:06:43 -05:00 committed by GitHub
parent 047231840d
commit 3d5f56a8a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ This page is broken into two parts: installation and setup, and then references
`unstructured` wrappers. `unstructured` wrappers.
## Installation and Setup ## Installation and Setup
- Install the Python SDK with `pip install unstructured[local-inference]` - Install the Python SDK with `pip install "unstructured[local-inference]"`
- Install the following system dependencies if they are not already available on your system. - Install the following system dependencies if they are not already available on your system.
Depending on what document types you're parsing, you may not need all of these. Depending on what document types you're parsing, you may not need all of these.
- `libmagic-dev` - `libmagic-dev`

View File

@ -17,7 +17,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"# # Install package\n", "# # Install package\n",
"!pip install unstructured[local-inference]\n", "!pip install \"unstructured[local-inference]\"\n",
"!pip install \"detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2\"\n", "!pip install \"detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2\"\n",
"!pip install layoutparser[layoutmodels,tesseract]" "!pip install layoutparser[layoutmodels,tesseract]"
] ]
@ -166,7 +166,7 @@
"Processing PDF documents works exactly the same way. Unstructured detects the file type and extracts the same types of `elements`. " "Processing PDF documents works exactly the same way. Unstructured detects the file type and extracts the same types of `elements`. "
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 1,
@ -221,7 +221,7 @@
"source": [ "source": [
"docs[:5]" "docs[:5]"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,