multimodalart HF staff commited on
Commit
62bbb3e
1 Parent(s): c9de947

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -252,7 +252,7 @@ with gr.Blocks(css=css) as demo:
252
  #for file in file_collection:
253
  # file.change(fn=swap_values_files, inputs=file_collection, outputs=[steps])
254
 
255
- type_of_thing.change(fn=swap_text, inputs=[type_of_thing], outputs=[thing_description, thing_image_example, things_naming, perc_txt_encoder])
256
  train_btn = gr.Button("Start Training")
257
  with gr.Box(visible=False) as try_your_model:
258
  gr.Markdown("Try your model")
 
252
  #for file in file_collection:
253
  # file.change(fn=swap_values_files, inputs=file_collection, outputs=[steps])
254
 
255
+ type_of_thing.change(fn=swap_text, inputs=[type_of_thing], outputs=[thing_description, thing_image_example, things_naming, perc_txt_encoder], queue=False)
256
  train_btn = gr.Button("Start Training")
257
  with gr.Box(visible=False) as try_your_model:
258
  gr.Markdown("Try your model")