import gradio as gr with gr.Blocks() as demo: with gr.Row(): model_pth = gr.Dropdown() with gr.Row(equal_height=True): refresh = gr.Button("refresh") model_index = gr.Dropdown() demo.launch()