import gradio as gr from gradio_modal import Modal with gr.Blocks() as demo: gr.Textbox() with gr.Modal(visible=True): gr.Number() demo.launch()