see in that file there is this ) with gr.Row() as network_row:

see in that file there is this


)
with gr.Row() as network_row:
network_dim = gr.Slider(
minimum=1,
maximum=9999999999,
label="Network Rank (Dimension)",
value=8,
step=1,
interactive=True,
)
network_alpha = gr.Slider(
minimum=0.00001,
maximum=9999999999,
label="Network Alpha",
value=1,
step=0.00001,
interactive=True,
info="alpha for LoRA weight scaling",
)
with gr.Row(visible=False) as convolution_row:
# locon= gr.Checkbox(label='Train a LoCon instead of a general LoRA (does not support v2 base models) (may not be able to some utilities now)', value=False)
conv_dim = gr.Slider(
minimum=0,
maximum=9999999999,
value=1,
step=1,
label="Convolution Rank (Dimension)",
)
conv_alpha = gr.Slider(
minimum=0,
maximum=9999999999,
value=1,
step=1,
label="Convolution Alpha",
)
Was this page helpful?