marker-pdf 无法连接 huggingface.co

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'

相关推荐
DevOpenClub3 小时前
PPT 转高精度 PDF API 接口
pdf·powerpoint
想太多会累i9 小时前
Spring Boot 使用Itext绘制并导出PDF
spring boot·pdf
zixingcai16 小时前
Adobe Acrobat pro在一份PDF中插入空白页
pdf·adobe acrobat reader
課代表16 小时前
AcroForm JavaScript Promise 对象应用示例: 异步加载PDF文件
开发语言·javascript·pdf·promise·对象
charlie11451419117 小时前
基于Qt6 + MuPDF在 Arm IMX6ULL运行的PDF浏览器——MuPDF Adapter文档
arm开发·qt·学习·pdf·教程·设计·qt6
东风西巷21 小时前
MobiPDF:安卓设备上的专业PDF阅读与编辑工具
android·智能手机·pdf·软件需求
离别又见离别1 天前
java实现根据Velocity批量生成pdf并合成zip压缩包
java·pdf
appleคิดถึง1 天前
wps excel将表格输出pdf时所有列在一张纸上
pdf·excel·wps
开开心心就好2 天前
高效全能PDF工具,支持OCR识别
java·前端·python·pdf·ocr·maven·jetty
yngsqq2 天前
JPG与PDF格式转换器
pdf