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/routes.py”, line 275, in predict
output = await app.blocks.process_api(body, username, session_state)
File “/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py”, 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/concurrency.py”, 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/to_thread.py”, 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/_asyncio.py”, line 937, in run_sync_in_worker_thread
return await future
File “/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py”, line 867, in run
result = context.run(func, *args)
File “app.py”, line 15, in desc_to_image
iface = gr.Interface.load(“spaces/hysts/TADNE”)
File “/home/user/.local/lib/python3.8/site-packages/gradio/interface.py”, line 90, in load
interface_info = load_interface(name, src, api_key, alias)
File “/home/user/.local/lib/python3.8/site-packages/gradio/external.py”, line 273, in load_interface
interface_info = repos[src](name, api_key, alias)
File “/home/user/.local/lib/python3.8/site-packages/gradio/external.py”, line 319, in get_spaces_interface
interface_info = interface_params_from_config(config)
File “/home/user/.local/lib/python3.8/site-packages/gradio/external.py”, 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