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'

相关推荐
liliangcsdn12 小时前
常用pdf解析提取工具的分析和示例
pdf
有趣灵魂1 天前
Java-Spingboot根据HTML模板和动态数据生成PDF文件
java·pdf·html
mfxcyh1 天前
使用html2canvas和jsPDF导出pdf文件、把pdf文件传给后端
pdf
ComPDFKit1 天前
从爱泼斯坦案文件泄露,看“涂黑≠删除”的 PDF 脱敏陷阱
pdf·脱敏·pdf redaction·标记密文·涂黑
今夕资源网1 天前
PDF与图片在线处理工具纯HTML网页源码 PDF 多功能魔方
pdf·pdf在线处理
codingFunTime1 天前
vue3 snapdom 导出图片和pdf
前端·javascript·pdf
runepic1 天前
Vue3 + Element Plus 实现PDF附件上传下载
前端·pdf·vue
沙漠豪2 天前
提取PDF发票信息的Python脚本
开发语言·python·pdf
非凡ghost2 天前
CoolUtils PDF Combine(PDF合并工具)
windows·学习·pdf·软件需求
小离a_a2 天前
富文本内容展示A4纸张大小的内容,生成一个pdf的格式预览,预览内容上加两张图片,图片可拖拽,可下载到本地pdf
pdf