Could not fetch config Gradio

How can I access the Gradio API on a Private Space? I’m getting this error:

Loaded as API: :heavy_check_mark:
Traceback (most recent call last):
File “d:\MemeBot\”, line 3, in
client = Client(“–replicas/wnmou/”)
File “C:\Users\xxxxxxxxxxxxxxxxxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\gradio_client\”, line 149, in init
self.config = self._get_config()
File “C:\Users\xxxxxxxxxxxxxxxxxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\gradio_client\”, line 863, in _get_config
raise ValueError(f"Could not fetch config for {self.src}")
ValueError: Could not fetch config for

Note: Passing a HF Access Token didn’t help.

Can someone please help me?

I solved it by using the same Gradio version on the client and server…

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?