import gradio as gr model1 = gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0") model2 = gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0") models_list = [model1, model2] selected_model = gr.selector(models_list, label="Select model") selected_model.launch()