binary-husky / gpt_academic

为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。
https://github.com/binary-husky/gpt_academic/wiki/online
GNU General Public License v3.0
63.86k stars 7.9k forks source link

hugging face proxy error #1366

Open doubletree6 opened 9 months ago

doubletree6 commented 9 months ago
          That's right. you touched the key point. because API2D does not need a proxy, so the config for proxy is False in my config.py. but the issue remains for no reason. I tried the API2D api-key in your demo, and the bug persists. please check the demo you created and try to apply an API2d key if possible. I am starting to wonder if there is a problem with API2D's services.

_Originally posted by @doubletree6 in https://github.com/binary-husky/gpt_academic/issues/1362#issuecomment-1842915371_

doubletree6 commented 9 months ago

This error shows in the demo you created too since recently image

doubletree6 commented 9 months ago

btw, API2D works good in the Docker version on my VPS oversea.

binary-husky commented 9 months ago

the service on hf is not configured by proxy at all

doubletree6 commented 9 months ago

App works fine on overseas VPS. I tried to modify app with EV config-private and config itself, the use-proxy are always False, still showed the same error. btw, the space on hf is directly duplicated from your profile.

doubletree6 commented 9 months ago

Have u tried ur hf space using API2D key. I could provide my key for testing if u need

jiangzhangze commented 8 months ago

我也遇到这个问题了,请问您找到解决的办法了吗

doubletree6 commented 8 months ago

Nope, the problem resists

doubletree6 commented 8 months ago

Now using VPS for replacement

whz-pku commented 4 months ago

the service on hf is not configured by proxy at all在 HF 上的服务没有通过代理进行任何配置

我也遇到这个问题了,我用国内的大模型是可以的,用第三方的gpt api就不可以了