Could not fetch config Gradio
How can I access the Gradio API on a Private Space? I’m getting this error:Loaded as API:https://xxxxxxxxxxxxxxxxxx.hf.space/--replicas/wnmou/Traceback (most recent call last):File “d:\MemeBot\test.py”, line 3, inclient = Client(“xxxxxxxxxxxxxxxxxx.hf.space/–replicas/wnmou/”)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File “C:\Users\xxxxxxxxxxxxxxxxxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\gradio_client\client.py”, line 149, ininitself.config = self._get_config()^^^^^^^^^^^^^^^^^^File “C:\Users\xxxxxxxxxxxxxxxxxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\gradio_client\client.py”, line 863, in _get_configraise ValueError(f"Could not fetch config for {self.src}")ValueError: Could not fetch config forhttps://xxxxxxxxxxxxxxxxxx.hf.space/--replicas/wnmou/Note: Passing a HF Access Token didn’t help.
2024-06-25T05:52:39Z
Can someone please help me?
2024-06-25T16:02:52Z
I solved it by using the same Gradio version on the client and server…
2024-07-06T19:04:10Z
I am having the same issue too, and HF_Toekn being there isn’t helpful.When you say you got the Gradio version on the client and server to be the same, what do you mean? Do you mean the same version of gradio_client library or the radio library?
2024-10-11T03:13:01Z
The “gradio” version. When you change it’s version it changes the “gradio_client” library version as well