set inital value to LoCon conv parameters

This commit is contained in:
Ki-wimon 2023-03-01 18:57:02 +08:00 committed by GitHub
parent cdb8bb1182
commit 88a49df47e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -704,14 +704,14 @@ def lora_tab(
conv_dim = gr.Slider( conv_dim = gr.Slider(
minimum=1, minimum=1,
maximum=512, maximum=512,
value=0, value=1,
step=1, step=1,
label='LoCon Convolution Rank (Dimension)', label='LoCon Convolution Rank (Dimension)',
) )
conv_alpha = gr.Slider( conv_alpha = gr.Slider(
minimum=1, minimum=1,
maximum=512, maximum=512,
value=0, value=1,
step=1, step=1,
label='LoCon Convolution Alpha', label='LoCon Convolution Alpha',
) )