Seeing blank page when clicking `use via API` link

I created a weed classifier and am trying to see its API by clicking use via API link but I am getting a blank page. The log has an error:

  File "/home/user/.local/lib/python3.8/site-packages/gradio/", line 499, in get_api_info
    info = component["api_info"]["serialized_input"]
KeyError: 'serialized_input'

I found only one report of this error on the web and it talks something about huggingspace infrastructure issue.

Any ideas how to solve it?

Hi @dhits

Can you try upgrading versions to 3.29.0?