Spaces:
Runtime error
Runtime error
Update app.py
Browse files67 unmodified lines6869707172737467 unmodified linesgen_event = gen_button.click(gen_fn, [m, txt_input], o)stop_button.click(lambda s: gr.update(interactive = False), None, stop_button, cancels = [gen_event])with gr.Accordion('Model selection'):model_choice = gr.CheckboxGroup(models, label = f'Choose up to {num_models} different models from the 640 available!', value = default_models, multiselect = True, max_choices = num_models, interactive = True, filterable = False)model_choice.change(update_imgbox, model_choice, output)model_choice.change(extend_choices, model_choice, current_models)with gr.Row():67 unmodified lines6869707172737467 unmodified linesgen_event = gen_button.click(gen_fn, [m, txt_input], o)stop_button.click(lambda s: gr.update(interactive = False), None, stop_button, cancels = [gen_event])with gr.Accordion('Model selection'):model_choice = gr.CheckboxGroup(models, label = f'Choose up to {num_models} different models from the 666 available!', value = default_models, multiselect = True, max_choices = num_models, interactive = True, filterable = False)model_choice.change(update_imgbox, model_choice, output)model_choice.change(extend_choices, model_choice, current_models)with gr.Row():
app.py+1-1