marker-single test.pdf
OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like datalab-to/surya_layout is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
接近:
vi /usr/local/python311/lib/python3.11/site-packages/marker/settings.py
添加:
import os
os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com'