FAQ
Some questions are frequently asked, so we have provided a list for users who encounter similar issues.
Is a GPU required?
-
Question:
As the program uses artificial intelligence to recognize and extract documents, is GPU required? -
Answer:
GPU is not required. But if you have a GPU, the program will automatically use it for higher performance.
Downloading interrupted?
- Question:
I encountered the following interrupt error while downloading the model. What should I do?
- Answer:
The network is receiving interference, please use a stable network link or try to bypass network intervention.
How to update to the latest version?
-
Question:
I want to use some of the features of the latest version, how do I update it? -
Answer:
pip install -U pdf2zh
The following files do not exist: example.pdf
-
Issue:
When executing the program, users would have the following outputs:The following files do not exist: example.pdf
if the document was not found. -
Solution:
- Open the command line in the directory where the file is located, or
- Enter the full path of the file directly after pdf2zh, or
- Use the interactive mode
pdf2zh -i
to drag and drop files directly
SSL Error and Other Network Issues
-
Issue:
When downloading hugging face models, users in China may get network error. For example, in issue #55, #70. -
Solution:
- Bypass GFW.
- Use Hugging Face Mirror.
- Use Portable version.
- Use Docker instead.
- Update Certificates, as suggested in issue #55.
Localhost is not accessible
Please see below.
Error launching GUI using 0.0.0.0
-
Issue:
Using proxy software in global mode may prevent Gradio from starting properly. For example, in issue #77. -
Solution:
Use rule mode