matteomarjanovic commited on
Commit
714fad0
·
1 Parent(s): 421fe99
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ else:
31
  pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
32
  pipe = pipe.to(device)
33
  pipe.load_lora_weights(flat_lora_path, weight_name=flat_weigths_file, adapter_name="flat")
34
- pipe.load_lora_weights(canny_lora_path, weight_name=cannyweigths_file, adapter_name="canny")
35
 
36
  pipe.set_adapters(["flat", "canny"], adapter_weights=[0.7, 0.7])
37
 
 
31
  pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
32
  pipe = pipe.to(device)
33
  pipe.load_lora_weights(flat_lora_path, weight_name=flat_weigths_file, adapter_name="flat")
34
+ pipe.load_lora_weights(canny_lora_path, weight_name=canny_weigths_file, adapter_name="canny")
35
 
36
  pipe.set_adapters(["flat", "canny"], adapter_weights=[0.7, 0.7])
37