Skip to content

Commit

Permalink
Merge pull request #2076 from bmaltais/dev
Browse files Browse the repository at this point in the history
v23.0.7
  • Loading branch information
bmaltais committed Mar 12, 2024
2 parents f036950 + ab32d02 commit 16336e8
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v23.0.6
v23.0.7
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ The GUI allows you to set the training parameters and generate and run the requi
- [No module called tkinter](#no-module-called-tkinter)
- [SDXL training](#sdxl-training)
- [Change History](#change-history)
- [2024/03/11 (v23.0.7)](#20240311-v2307)
- [2024/03/11 (v23.0.6)](#20240311-v2306)
- [2024/03/11 (v23.0.5)](#20240311-v2305)
- [2024/03/10 (v23.0.4)](#20240310-v2304)
Expand Down Expand Up @@ -365,6 +366,10 @@ The documentation in this section will be moved to a separate document later.
## Change History
### 2024/03/11 (v23.0.7)
- Fix minor issues related to functions and file path
### 2024/03/11 (v23.0.6)
- Fix issue with PYTHON path that have "spaces" in them
Expand Down
2 changes: 1 addition & 1 deletion kohya_gui/convert_lcm_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def convert_lcm(

# Check if source model exist
if not os.path.isfile(model_path):
msgbox('The provided DyLoRA model is not a file')
log.error('The provided DyLoRA model is not a file')
return

if os.path.dirname(name) == "":
Expand Down
2 changes: 1 addition & 1 deletion kohya_gui/extract_lora_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def change_sdxl(sdxl):
show_progress=False,
)
model_org.change(
fn=lambda path: gr.Dropdown().update(choices=[""] + list_org_model(path)),
fn=lambda path: gr.Dropdown().update(choices=[""] + list_org_models(path)),
inputs=model_org,
outputs=model_org,
show_progress=False,
Expand Down
4 changes: 2 additions & 2 deletions kohya_gui/extract_lycoris_locon_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def extract_lycoris_locon(
path, ext = os.path.splitext(output_name)
output_name = f"{path}_tmp{ext}"

run_cmd = fr'"{PYTHON}" "{scriptdir}/sd-scripts/tools/lycoris_locon_extract.py"'
run_cmd = fr'"{PYTHON}" "{scriptdir}/tools/lycoris_locon_extract.py"'
if is_sdxl:
run_cmd += f" --is_sdxl"
if is_v2:
Expand Down Expand Up @@ -258,7 +258,7 @@ def list_save_to(path):
show_progress=False,
)
base_model.change(
fn=lambda path: gr.Dropdown().update(choices=[""] + list_base_model(path)),
fn=lambda path: gr.Dropdown().update(choices=[""] + list_base_models(path)),
inputs=base_model,
outputs=base_model,
show_progress=False,
Expand Down
2 changes: 1 addition & 1 deletion kohya_gui/group_images_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def list_output_dirs(path):
value="",
allow_custom_value=True,
)
create_refresh_button(output_folder, lambda: None, lambda: {"choices": list_output_dirs(current_output_dir)},"open_folder_small")
create_refresh_button(output_folder, lambda: None, lambda: {"choices": list_output_dirs(current_output_folder)},"open_folder_small")
button_output_folder = gr.Button(
'📂', elem_id='open_folder_small', elem_classes=['tool'], visible=(not headless)
)
Expand Down
1 change: 1 addition & 0 deletions kohya_gui/merge_lora_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import os
import subprocess
import sys
import json

# Third-party imports
import gradio as gr
Expand Down
2 changes: 1 addition & 1 deletion kohya_gui/merge_lycoris_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def list_save_to(path):
show_progress=False,
)
lycoris_model.change(
fn=lambda path: gr.Dropdown().update(choices=[""] + list_lycoris_models(path)),
fn=lambda path: gr.Dropdown().update(choices=[""] + list_lycoris_model(path)),
inputs=lycoris_model,
outputs=lycoris_model,
show_progress=False,
Expand Down

0 comments on commit 16336e8

Please sign in to comment.