gpt_academic icon indicating copy to clipboard operation
gpt_academic copied to clipboard

hugging face proxy error

Open doubletree6 opened this issue 1 year ago • 9 comments

          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 avatar Dec 07 '23 03:12 doubletree6

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

doubletree6 avatar Dec 07 '23 03:12 doubletree6

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

doubletree6 avatar Dec 07 '23 03:12 doubletree6

the service on hf is not configured by proxy at all

binary-husky avatar Dec 09 '23 12:12 binary-husky

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 avatar Dec 11 '23 09:12 doubletree6

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

doubletree6 avatar Dec 11 '23 09:12 doubletree6

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

jiangzhangze avatar Dec 21 '23 09:12 jiangzhangze

Nope, the problem resists

doubletree6 avatar Dec 22 '23 06:12 doubletree6

Now using VPS for replacement

doubletree6 avatar Dec 22 '23 06:12 doubletree6

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

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

whz-pku avatar May 10 '24 16:05 whz-pku