asoderznik commited on
Commit
389e9de
1 Parent(s): ecee85b

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -35,6 +35,7 @@ class EndpointHandler():
35
 
36
  self.pipe = StableDiffusionUpscalePipeline.from_pretrained(self.path, torch_dtype=torch.float16)
37
  self.pipe = self.pipe.to(device)
 
38
  logger.info('data received %s', data)
39
  inputs = data.get("inputs")
40
  logger.info('inputs received %s', inputs)
 
35
 
36
  self.pipe = StableDiffusionUpscalePipeline.from_pretrained(self.path, torch_dtype=torch.float16)
37
  self.pipe = self.pipe.to(device)
38
+ logger.info("pipleine config %s", self.pipe.unet)
39
  logger.info('data received %s', data)
40
  inputs = data.get("inputs")
41
  logger.info('inputs received %s', inputs)