Texttra commited on
Commit
66aa5e4
·
verified ·
1 Parent(s): 1ccb9bc

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -15,7 +15,7 @@ class EndpointHandler:
15
  )
16
 
17
  # Load your LoRA weights from the repo
18
- self.pipe.load_lora_weights("./c1t3_v1.safetensors")
19
 
20
  # Move to GPU if available
21
  if torch.cuda.is_available():
 
15
  )
16
 
17
  # Load your LoRA weights from the repo
18
+ self.pipe.load_lora_weights(model_dir, weight_name="c1t3_v1.safetensors")
19
 
20
  # Move to GPU if available
21
  if torch.cuda.is_available():