KeyError: zeroGPU comes up on using Gradio Load ()
Dears,Hope you are doing well!We came across an issue on using Gradio Load() access to a HF private space. The runtime error codes are as follows. This issue comes up from the new creation space and currently the same set of codes used in the spaces, which were created before 2024.04.20, seems still working.File “/usr/local/lib/python3.10/site-packages/gradio/external.py”, line 60, in loadreturn load_blocks_from_repo(File “/usr/local/lib/python3.10/site-packages/gradio/external.py”, line 99, in load_blocks_from_repoblocks: gradio.Blocks = factory_methods[src](name, REDACTED_TOKEN, alias, **kwargs)File “/usr/local/lib/python3.10/site-packages/gradio/external.py”, line 422, in from_spacesreturn from_spaces_blocks(space=space_name, REDACTED_TOKEN=REDACTED_TOKEN)File “/usr/local/lib/python3.10/site-packages/gradio/external.py”, line 454, in from_spaces_blocksreturn gradio.Blocks.from_config(client.config, predict_fns, client.src)File “/usr/local/lib/python3.10/site-packages/gradio/blocks.py”, line 853, in from_configdependency.pop(“zerogpu”)KeyError: ‘zerogpu’Here is the source code in the script as follows:import osimport gradio as grread_key = os.environ.get(‘REDACTED_TOKEN_api_key’)demo = gr.load(“hfname/private_spacename1”, REDACTED_TOKEN=read_key, src=“spaces”)demo.launch()Looking forward to hearing advice, thank you in advance!Terry