multimodalart HF staff commited on
Commit
b71d32f
1 Parent(s): dcdc0f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -580,6 +580,7 @@ with gr.Blocks(css=css) as demo:
580
  type_of_thing.change(fn=swap_text, inputs=[type_of_thing, base_model_to_use], outputs=[thing_description, thing_image_example, things_naming, perc_txt_encoder, thing_experimental], queue=False, show_progress=False)
581
 
582
  #Swap the base model
 
583
  base_model_to_use.change(fn=swap_base_model, inputs=base_model_to_use, outputs=[])
584
 
585
  #Update the summary box below the UI according to how many images are uploaded and whether users are using custom settings or not
 
580
  type_of_thing.change(fn=swap_text, inputs=[type_of_thing, base_model_to_use], outputs=[thing_description, thing_image_example, things_naming, perc_txt_encoder, thing_experimental], queue=False, show_progress=False)
581
 
582
  #Swap the base model
583
+ base_model_to_use.change(fn=swap_text, inputs=[type_of_thing, base_model_to_use], outputs=[thing_description, thing_image_example, things_naming, perc_txt_encoder, thing_experimental], queue=False, show_progress=False)
584
  base_model_to_use.change(fn=swap_base_model, inputs=base_model_to_use, outputs=[])
585
 
586
  #Update the summary box below the UI according to how many images are uploaded and whether users are using custom settings or not