Hermes Bot commited on
Commit
d2d37af
·
1 Parent(s): 96b2e47

Replace LoRA Row with Group to fix layout error

Browse files
Files changed (1) hide show
  1. ui/shared/ui_components.py +1 -1
ui/shared/ui_components.py CHANGED
@@ -131,7 +131,7 @@ def create_lora_settings_ui(prefix: str):
131
  components[f'lora_count_state_{prefix}'] = gr.State(1)
132
 
133
  for i in range(MAX_LORAS):
134
- with gr.Row() as row:
135
  source = gr.Dropdown(label=f"LoRA Source {i+1}", choices=LORA_SOURCE_CHOICES, value=LORA_SOURCE_CHOICES[0], scale=1)
136
  lora_id = gr.Textbox(label="Civitai Version ID / HF file / Upload File", scale=2, type="text")
137
  scale = gr.Slider(label=f"Scale", minimum=0.0, maximum=2.0, step=0.05, value=1.0, scale=1)
 
131
  components[f'lora_count_state_{prefix}'] = gr.State(1)
132
 
133
  for i in range(MAX_LORAS):
134
+ with gr.Group() as row:
135
  source = gr.Dropdown(label=f"LoRA Source {i+1}", choices=LORA_SOURCE_CHOICES, value=LORA_SOURCE_CHOICES[0], scale=1)
136
  lora_id = gr.Textbox(label="Civitai Version ID / HF file / Upload File", scale=2, type="text")
137
  scale = gr.Slider(label=f"Scale", minimum=0.0, maximum=2.0, step=0.05, value=1.0, scale=1)