multimodalart HF staff commited on
Commit
4a841f2
1 Parent(s): 07d3eff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,7 +53,7 @@ def load_lora_into_transformer_patched(cls, state_dict, transformer, adapter_nam
53
  lora_config_kwargs.pop("use_dora")
54
 
55
 
56
- lora_config_kwargs["lora_alpha"] = 32
57
  lora_config = LoraConfig(**lora_config_kwargs)
58
 
59
  # adapter_name
@@ -174,7 +174,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
174
 
175
  with gr.Row():
176
  seed = gr.Slider(label="Seed", minimum=0, maximum=2**32-1, step=1, value=0, randomize=True)
177
- lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=1, step=0.01, value=1)
178
 
179
  gallery.select(update_selection, outputs=[prompt, selected_info, selected_index])
180
 
 
53
  lora_config_kwargs.pop("use_dora")
54
 
55
 
56
+ lora_config_kwargs["lora_alpha"] = 42
57
  lora_config = LoraConfig(**lora_config_kwargs)
58
 
59
  # adapter_name
 
174
 
175
  with gr.Row():
176
  seed = gr.Slider(label="Seed", minimum=0, maximum=2**32-1, step=1, value=0, randomize=True)
177
+ lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=1, step=0.01, value=0.85)
178
 
179
  gallery.select(update_selection, outputs=[prompt, selected_info, selected_index])
180