KawaiiApp commited on
Commit
a9108ee
1 Parent(s): 492876f
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -42,7 +42,7 @@ class EndpointHandler():
42
  # Run inference pipeline
43
  with autocast(device.type):
44
  if negative_prompt is None:
45
- print(str(inputs), str(height), str(width), str(guidance_scale_)
46
  image = self.pipe(prompt=inputs, height=height, width=width, guidance_scale=float(guidance_scale))
47
  image = image.images[0]
48
  else:
 
42
  # Run inference pipeline
43
  with autocast(device.type):
44
  if negative_prompt is None:
45
+ print(str(inputs), str(height), str(width), str(guidance_scale))
46
  image = self.pipe(prompt=inputs, height=height, width=width, guidance_scale=float(guidance_scale))
47
  image = image.images[0]
48
  else: