Hi, anyone managed to solve this? Getting the same error
for fn_index, dependency in enumerate(self.config["dependencies"])
KeyError: ‘dependencies’
Using both gr.load and gradio_client results in the same error, the objective is to load a gradio app from a private space into a public space.
import gradio as gr
from gradio_client import Client
import os
HF_TOKEN = os.environ.get(“hfkey”)
gr.load(name=“spaces/xxx/yyy”, api_key=HF_TOKEN).launch()
#both method below resulted in the same error
#client = Client(“xxx/yyy”, hf_token=HF_TOKEN)
#client = Client.duplicate(“xxx/yyy”, hf_token=HF_TOKEN)