gr.Interface.load not working

Hi, I am trying to load TADNE in my space using

iface = gr.Interface.load(“spaces/hysts/TADNE”)

but I get the following error:

Traceback (most recent call last):
File “/home/user/.local/lib/python3.8/site-packages/gradio/”, line 275, in predict
output = await app.blocks.process_api(body, username, session_state)
File “/home/user/.local/lib/python3.8/site-packages/gradio/”, line 274, in process_api
predictions = await run_in_threadpool(block_fn.fn, *processed_input)
File “/home/user/.local/lib/python3.8/site-packages/starlette/”, line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File “/home/user/.local/lib/python3.8/site-packages/anyio/”, line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File “/home/user/.local/lib/python3.8/site-packages/anyio/_backends/”, line 937, in run_sync_in_worker_thread
return await future
File “/home/user/.local/lib/python3.8/site-packages/anyio/_backends/”, line 867, in run
result =, *args)
File “”, line 15, in desc_to_image
iface = gr.Interface.load(“spaces/hysts/TADNE”)
File “/home/user/.local/lib/python3.8/site-packages/gradio/”, line 90, in load
interface_info = load_interface(name, src, api_key, alias)
File “/home/user/.local/lib/python3.8/site-packages/gradio/”, line 273, in load_interface
interface_info = repos[src](name, api_key, alias)
File “/home/user/.local/lib/python3.8/site-packages/gradio/”, line 319, in get_spaces_interface
interface_info = interface_params_from_config(config)
File “/home/user/.local/lib/python3.8/site-packages/gradio/”, line 281, in interface_params_from_config
for component in config_dict[“input_components”]
KeyError: ‘input_components’

Hey there! I think the related space is using an older version of Gradio which did not support the load mechanism. Pinging @abidlabs for confirmation.

Actually Discard that, this Space is using a recent version of gradio. I opened an issue in the Gradio repository Loading interface from Space does not work (sometimes) · Issue #1604 · gradio-app/gradio · GitHub