Skip to content

Commit

Permalink
Add tesseract dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mawandm committed Apr 16, 2024
1 parent ce9265f commit a65cf42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_rag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo apt install ffmpeg -y
sudo apt install ffmpeg tesseract -y
pip install -r nesis/rag/requirements.txt -r nesis/rag/requirements-test.txt -r nesis/rag/requirements-huggingface.txt
- name: Run unit tests
env:
Expand Down
2 changes: 1 addition & 1 deletion nesis/rag/tests/rag/core/server/test_ingestion_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_ingest_supported(injector, client):
data={"metadata": json.dumps(metadata)},
)
# print(response.text)
assert response.status_code == HTTPStatus.OK
assert response.status_code == HTTPStatus.OK, response.text
result = response.json()
assert len(result["data"]) > 0
for item in result["data"]:
Expand Down

0 comments on commit a65cf42

Please sign in to comment.