Skip to content

Commit

Permalink
Added macos version of xpdf in tutorial 8 (#2424)
Browse files Browse the repository at this point in the history
* Added macos version of xpdf in tutorial 8

* mini-error
  • Loading branch information
seduerr91 authored Apr 14, 2022
1 parent 6042802 commit 3d42b70
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tutorials/Tutorial8_Preprocessing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
{
Expand Down Expand Up @@ -509,4 +514,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}

0 comments on commit 3d42b70

Please sign in to comment.