git-cloner / aliendao

huggingface mirror download
https://aliendao.cn
MIT License
548 stars 55 forks source link

公司有代理的情况下,如何下载呢? #10

Closed micrazy closed 11 months ago

micrazy commented 11 months ago

python model_download.py --repo_id stabilityai/stable-diffusion-xl-base-1.0 --mirror

报错 requests.exceptions.SSLError: HTTPSConnectionPool(host='e.aliendao.cn', port=443): Max retries exceeded with url: /models/stabilityai/stable-diffusion-xl-base-1.0?json=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)')))

尝试model_download.pyli 151行增加proxy不行 尝试把model_download.pyli 150行替换https为http也不行

little51 commented 11 months ago

e.aliendao.cn在阿里云,不需要proxy

micrazy commented 11 months ago

e.aliendao.cn在阿里云,不需要proxy

我是指公司内网访问公司外网的proxy

little51 commented 11 months ago

e.aliendao.cn在阿里云,访问e.aliendao.cn不需要proxy就可以用。但你公司用proxy,因为我不了解proxy是如何设置的,所以也不好说是具体解决。

micrazy commented 11 months ago

好吧,我再试试,如果解决给你提pr

little51 commented 11 months ago

好的,多谢