Mirza Učanbarlić commited on
Commit
c2c212c
·
1 Parent(s): 09fe324

add missing self

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -8,7 +8,7 @@ class EndpointHandler():
8
  def __init__(self, path=""):
9
  repo_id = "runwayml/stable-diffusion-v1-5"
10
  self.pipeline = StableDiffusionImg2ImgPipeline.from_pretrained(repo_id)
11
- pipeline.load_lora_weights("simulationcartridge/ppl")
12
 
13
  def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
14
  """
 
8
  def __init__(self, path=""):
9
  repo_id = "runwayml/stable-diffusion-v1-5"
10
  self.pipeline = StableDiffusionImg2ImgPipeline.from_pretrained(repo_id)
11
+ self.pipeline.load_lora_weights("simulationcartridge/ppl")
12
 
13
  def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
14
  """