multimodalart HF staff commited on
Commit
164a8bf
1 Parent(s): 2da1810

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -340,6 +340,7 @@ def run_lora(prompt, image_input, image_strength, cfg_scale, steps, selected_ind
340
  for idx, lora in enumerate(selected_loras):
341
  lora_name = f"lora_{idx}"
342
  lora_names.append(lora_name)
 
343
  lora_weights.append(lora_scale_1 if idx == 0 else lora_scale_2)
344
  lora_path = lora['repo']
345
  weight_name = lora.get("weights")
 
340
  for idx, lora in enumerate(selected_loras):
341
  lora_name = f"lora_{idx}"
342
  lora_names.append(lora_name)
343
+ print(f"Lora Name: {lora_name}")
344
  lora_weights.append(lora_scale_1 if idx == 0 else lora_scale_2)
345
  lora_path = lora['repo']
346
  weight_name = lora.get("weights")