Skip to content

Commit

Permalink
Merge pull request #192 from kohya-ss/dev
Browse files Browse the repository at this point in the history
add relase to weight slider, refs #183 #190
  • Loading branch information
kohya-ss authored May 23, 2023
2 parents 2da4647 + 6a2fbae commit e9f3d62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ Composable LoRA はサブプロンプトごとに LoRA の適用有無を切り

## Change History

- 23 May 2023, 2023/5/23
- Fix an issue where the value of the `Weight` slider is not applied correctly.
- `Weight`のスライダーの値が正しく反映されない場合がある不具合への対応を行いました。

- 8 May 2023, 2023/5/8
- Fix an issue where the models are not loaded correctly in the `Additional Networks` tab.
- Fix an issue where `None` cannot be selected as a model in X/Y/Z plot.
Expand Down
1 change: 1 addition & 0 deletions scripts/additional_networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def ui(self, is_img2img):
)

weight.change(lambda w: (w, w), inputs=[weight], outputs=[weight_unet, weight_tenc])
weight.release(lambda w: (w, w), inputs=[weight], outputs=[weight_unet, weight_tenc])
paste_params.append({"module": module, "model": model})

ctrls.extend((module, model, weight_unet, weight_tenc))
Expand Down

0 comments on commit e9f3d62

Please sign in to comment.