Skip to content

Commit

Permalink
hide dummy gr.Textbox()
Browse files Browse the repository at this point in the history
  • Loading branch information
wkpark committed Feb 27, 2024
1 parent 43618c4 commit a2450b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kohya_gui/finetune_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ def list_presets(path):
inputs=[dummy_db_false, dummy_db_true, config.config_file_name]
+ settings_list
+ [training_preset],
outputs=[gr.Textbox()] + settings_list + [training_preset],
outputs=[gr.Textbox(visible=False)] + settings_list + [training_preset],
show_progress=False,
)

Expand Down
2 changes: 1 addition & 1 deletion kohya_gui/lora_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1967,7 +1967,7 @@ def update_LoRA_settings(
inputs=[dummy_db_false, dummy_db_true, config.config_file_name]
+ settings_list
+ [training_preset],
outputs=[gr.Textbox()] + settings_list + [training_preset, convolution_row],
outputs=[gr.Textbox(visible=False)] + settings_list + [training_preset, convolution_row],
show_progress=False,
)

Expand Down

0 comments on commit a2450b1

Please sign in to comment.