import gradio as gr with gr.Blocks() as demo: with gr.Tab("Text-to-Image"): gr.Button("New Lion") with gr.Tab("Image-to-Image"): gr.Button("New Tiger")