adithya-s-k / omniparse

Ingest, parse, and optimize any data format ➡️ from documents to multimedia ➡️ for enhanced compatibility with GenAI frameworks
https://docs.cognitivelab.in
GNU General Public License v3.0
4.91k stars 406 forks source link

对于大陆用户的提示 #64

Open Lu0Key opened 1 month ago

Lu0Key commented 1 month ago

如果因为网络问题无法下载的话,推荐使用下面这个命令进行运行docker

docker run --gpus all -p 8000:8000 -e HF_ENDPOINT=https://hf-mirror.com  savatar101/omniparse:0.1

我尝试通过marker库和surya库去跳过校验,转而加载自己提前下载好的模型,结果失败了,但是用上面这种方法OK的

adithya-s-k commented 1 month ago

english please👍🏼

Lu0Key commented 1 month ago

In fact, this is not a bug. It is simply because users in mainland China cannot directly download models from Huggingface. This message is a notice in Chinese for users in mainland China, informing them that they can use this command to download models from Huggingface through a mirror.