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, in
client = Client(“xxxxxxxxxxxxxxxxxx.hf.space/–replicas/wnmou/”)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\xxxxxxxxxxxxxxxxxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\gradio_client\client.py”, line 149, in init
self.config = self._get_config()
^^^^^^^^^^^^^^^^^^
File “C:\Users\xxxxxxxxxxxxxxxxxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\gradio_client\client.py”, line 863, in _get_config
raise ValueError(f"Could not fetch config for {self.src}")
ValueError: Could not fetch config for https://xxxxxxxxxxxxxxxxxx.hf.space/--replicas/wnmou/
Note: Passing a HF Access Token didn’t help.