mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-07 04:27:15 +00:00
Added macos version of xpdf in tutorial 8 (#2424)
* Added macos version of xpdf in tutorial 8 * mini-error
This commit is contained in:
parent
60428020ff
commit
3d42b70fbb
@ -65,8 +65,13 @@
|
||||
"!pip install --upgrade pip\n",
|
||||
"!pip install git+https://github.com/deepset-ai/haystack.git#egg=farm-haystack[colab,ocr]\n",
|
||||
"\n",
|
||||
"# For Colab/linux based machines\n",
|
||||
"!wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.03.tar.gz\n",
|
||||
"!tar -xvf xpdf-tools-linux-4.03.tar.gz && sudo cp xpdf-tools-linux-4.03/bin64/pdftotext /usr/local/bin"
|
||||
"!tar -xvf xpdf-tools-linux-4.03.tar.gz && sudo cp xpdf-tools-linux-4.03/bin64/pdftotext /usr/local/bin\n",
|
||||
"\n",
|
||||
"# For Macos machines\n",
|
||||
"# !wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-mac-4.03.tar.gz\n",
|
||||
"# !tar -xvf xpdf-tools-mac-4.03.tar.gz && sudo cp xpdf-tools-mac-4.03/bin64/pdftotext /usr/local/bin"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -509,4 +514,4 @@
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user