multimodalart HF staff commited on
Commit
4d0f254
1 Parent(s): d77a82f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -180,8 +180,9 @@ def run_lora(prompt, negative, lora_scale, selected_state, progress=gr.Progress(
180
 
181
  else:
182
  merge_incompatible_lora(full_path_lora, lora_scale)
183
- last_merged = True
184
- last_fused=False
 
185
 
186
  image = pipe(
187
  prompt=prompt,
 
180
 
181
  else:
182
  merge_incompatible_lora(full_path_lora, lora_scale)
183
+ last_fused = False
184
+
185
+ last_merged = True
186
 
187
  image = pipe(
188
  prompt=prompt,