Fix unstructured deps installation error (#2248)

This commit is contained in:
Li Jiang 2024-04-02 13:17:13 +08:00 committed by GitHub
parent a27bda8f2b
commit eec854279a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -43,9 +43,11 @@ jobs:
if: matrix.python-version == '3.10'
run: |
pip install qdrant_client[fastembed]
- name: Install unstructured when python-version is 3.9 and not windows
if: matrix.python-version == '3.9' && matrix.os != 'windows-2019'
- name: Install unstructured when python-version is 3.9 and on linux
if: matrix.python-version == '3.9' && matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y tesseract-ocr poppler-utils
pip install unstructured[all-docs]
- name: Install packages and dependencies for RetrieveChat
run: |