alberto-solano / open-source-LLM-translation-tool

This project use the Meta NLLB-200 translation model through the Hugging Face transformers library.
51 stars 6 forks source link

TesseractNotFoundError at /translator/ #4

Open jviseur opened 4 months ago

jviseur commented 4 months ago

I have installed the application on Linux mint and translations for .docx work but when I attempt to translate a pdf I get the error

TesseractNotFoundError at /translator/

tesseract is not installed or it's not in your PATH. See README file for more information.
Request Method: POST

http://127.0.0.1:8000/translator/ 4.2.4 TesseractNotFoundError tesseract is not installed or it's not in your PATH. See README file for more information. /home/john/django/venv/lib/python3.10/site-packages/pytesseract/pytesseract.py, line 260, in run_tesseract application.views.upload_document /home/john/django/venv/bin/python3 3.10.12 ['/home/john/django/open_source_translation_tool', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/home/john/django/venv/lib/python3.10/site-packages', '/home/john/django/open_source_translation_tool/src'] Wed, 19 Jun 2024 07:20:31 +0000

Are you able to help me please and point me into the right direction.

Regards John Viseur