pdf_translator icon indicating copy to clipboard operation
pdf_translator copied to clipboard

translate PDF files using GPT

Results 10 pdf_translator issues
Sort by recently updated
recently updated
newest added

When running Make build I get the following error. sudo make build mkdir -p models/unilm if [ ! -f models/unilm/publaynet_dit-b_cascade.pth ]; then \ wget "https://layoutlm.blob.core.windows.net/dit/dit-fts/publaynet_dit-b_cascade.pth?sv=2022-11-02&ss=b&srt=o&sp=r&se=2033-06-08T16:48:15Z&st=2023-06-08T08:48:15Z&spr=https&sig=a9VXrihTzbWyVfaIDlIT1Z0FoR1073VB0RLQUMuudD4%3D" -P models/unilm -O publaynet_dit-b_cascade.pth; \...

Traceback (most recent call last): File "/home/vanqish/Desktop/pdf_translator/server.py", line 25, in translator = load_translator(cfg['translator']) File "/home/vanqish/Desktop/pdf_translator/modules/__init__.py", line 5, in load_translator from .translate.openai_gpt import TranslateOpenAIGPT File "/home/vanqish/Desktop/pdf_translator/modules/translate/openai_gpt.py", line 2, in from openai...

Is there ANY way to run this on a Windows? For the love of me I can't get make commands to work in windows, and i've tried Linux Lite on...

I'm encountering this error/warning when translating a PDF file from Arabic to English on Windows WSL Kali linux distro build on a RTX 4070 after following all the necessary steps....

Thank you for this project Is it possible to have the translated text to be output as text and not images in the PDF?

可以使用中转的API嘛?不使用apenai官方的API?

![image](https://github.com/ppisljar/pdf_translator/assets/70597027/d775312d-21f9-4ee8-b484-d4c26daea8f3)

If change to Chinese fonts, the text content cant be displayed totally, some content would be cut. [translated.pdf](https://github.com/user-attachments/files/16200649/translated.pdf)

Saw a fix by upgrading the pydantic to latest version: https://github.com/jhj0517/Whisper-WebUI/issues/258 Simply changing the `requirements.txt` with `pydantic==4.43.0` won't work, because `gradio` is locked in a low version `4.19.1` because of...

When the python3 server.py command is executed, the following error is displayed. openai has changed its access mode, can you modify it. Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/h11_impl.py", line...