ppierzc commited on
Commit
fe29560
·
1 Parent(s): 74ff852

fix(handler)

Browse files
Files changed (1) hide show
  1. handler.py +2 -2
handler.py CHANGED
@@ -18,8 +18,8 @@ class EndpointHandler():
18
  import torch
19
 
20
  self.pipe = AutoPipelineForText2Image.from_pretrained("stabilityai/sdxl-turbo", torch_dtype=torch.float16, variant="fp16")
21
- print(path)
22
- self.pipe.load_lora_weights(path, weight_name="pytorch_lora_weights.safetensors")
23
 
24
  self.pipe = self.pipe.to(device)
25
 
 
18
  import torch
19
 
20
  self.pipe = AutoPipelineForText2Image.from_pretrained("stabilityai/sdxl-turbo", torch_dtype=torch.float16, variant="fp16")
21
+ print("path", path)
22
+ self.pipe.load_lora_weights("ppierzc/sd-icongenie-model-lora-sdxl", weight_name="pytorch_lora_weights.safetensors")
23
 
24
  self.pipe = self.pipe.to(device)
25