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 load
return load_blocks_from_repo(
File “/usr/local/lib/python3.10/site-packages/gradio/external.py”, line 99, in load_blocks_from_repo
blocks: gradio.Blocks = factory_methods[src](name, hf_token, alias, **kwargs)
File “/usr/local/lib/python3.10/site-packages/gradio/external.py”, line 422, in from_spaces
return from_spaces_blocks(space=space_name, hf_token=hf_token)
File “/usr/local/lib/python3.10/site-packages/gradio/external.py”, line 454, in from_spaces_blocks
return 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_config
dependency.pop(“zerogpu”)
KeyError: ‘zerogpu’

Here is the source code in the script as follows:

import os
import gradio as gr
read_key = os.environ.get(‘hf_space_api_key’)
demo = gr.load(“hfname/private_spacename1”, hf_token=read_key, src=“spaces”)
demo.launch()

Looking forward to hearing advice, thank you in advance!

Terry