From 5c4c1d6f1773af4b56ade21b020ea4855390e2f0 Mon Sep 17 00:00:00 2001 From: Masaki Takano Date: Tue, 28 Mar 2023 21:11:17 +0900 Subject: [PATCH 1/2] Change step of network_alpha from 1 to 0.1 --- lora_gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lora_gui.py b/lora_gui.py index e7ada89..f4c4a16 100644 --- a/lora_gui.py +++ b/lora_gui.py @@ -796,11 +796,11 @@ def lora_tab( interactive=True, ) network_alpha = gr.Slider( - minimum=1, + minimum=0.1, maximum=1024, label='Network Alpha', value=1, - step=1, + step=0.1, interactive=True, ) From 2e6ebec8b22a02f8906b2d99bf0735814a357708 Mon Sep 17 00:00:00 2001 From: Masaki Takano Date: Tue, 28 Mar 2023 21:28:41 +0900 Subject: [PATCH 2/2] same change for conv_alpha --- lora_gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lora_gui.py b/lora_gui.py index f4c4a16..e03b11d 100644 --- a/lora_gui.py +++ b/lora_gui.py @@ -815,10 +815,10 @@ def lora_tab( label='Convolution Rank (Dimension)', ) conv_alpha = gr.Slider( - minimum=1, + minimum=0.1, maximum=512, value=1, - step=1, + step=0.1, label='Convolution Alpha', ) # Show of hide LoCon conv settings depending on LoRA type selection