Outdated gradio?

My app runs fine on my local machine, but at Spaces it throws an exception: AttributeError: module 'gradio' has no attribute 'Textbox' Is it possible that HF Spaces override the gradio version specified in requirements.txt?

This is the app, anyways: https://huggingface.co/spaces/huspacy/example-applications

1 Like

@merve Thanks for the quick response. What is strange that my workspaces uses gradio==2.9 by default, however from reading the docs (Spaces Changelog) tells me that 3.x should be available. Is it just me, who gets the outdated gradio?

It turned out that I all I needed is to set the sdk version correctly:

sdk: gradio
sdk_version: 3.0.11
2 Likes