Closed bchanlee closed 2 years ago
Hi @bchanlee, thanks for creating the issue. I can't seem to reproduce this issue.
Please see a simple working example of gr.TabbedInterface with the requirements you specified. (Note you don't need to put gradio
in the requirements.txt
file):
Hi @abidlabs, thanks for the quick update!
I had to change a line in the README file from sdk_version: 2.9.4 to sdk_version: 3.0.12 (although I assumed gradio==3.0.12 in requirements.txt would work around this).
I'm using Hugging Face Spaces and have AttributeError: module 'gradio' has no attribute 'TabbedInterface' when using gr.TabbedInterface( ). This similarly appears when I'm using gr.Tabs( ). Other features like gr.Blocks( ) work fine.
I have the following dependencies on requirements.txt: transformers tensorflow gradio (also tried gradio==3.0 and gradio==3.0.12)
I was wondering how to fix this issue as there are examples on Spaces where Tabs or TabbedInterface produce no AttributeError.