Join the conversation

Join the community of Machine Learners and AI enthusiasts.

Sign Up
abidlabs 
posted an update Jan 26
Post
Gradio 4.16 introduces a new flow: you can hide/show Tabs or make them interactive/non-interactive.

Really nice for multi-step machine learning ademos ⚡️

Hi @abidlabs . I'm interested in using the above tabbing feature. Are there some docs/examples available somewhere?

Also. In this posting: https://discuss.huggingface.co/t/how-to-implement-like-dislike-for-each-chatbot-message/50480

You mentioned that in Aug of last year that someone was looking into a feedback mechanism for gradio ChatBot. I haven't seen anything else about that...was something introduced? (or will be introduced)? If there is some work underway I could possibly contribute to it if needed.

Thanksinadvance.

·

Thanks @scottblewis for the questions!

Regarding the tabs feature, the docs for gr.Tab() would be your best bet if you're already somewhat familiar with Gradio and the Blocks API. If not, I'd recommend starting with Blocks.

Blocks: https://www.gradio.app/guides/blocks-and-event-listeners
Tabs docs: https://www.gradio.app/docs/tab