Cognomen commited on
Commit
96ef93e
Β·
1 Parent(s): cf23f16

see if it sticks

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def infer(prompt, negative_prompt, image):
41
  # implement your inference function here
42
  inp = Image.fromarray(image)
43
 
44
- cond_input = conditioning_image_transforms(inp).to("cpu", dtype=torch.float16)
45
  cond_input = T.ToPILImage()(cond_input)
46
 
47
  output = pipe(
 
41
  # implement your inference function here
42
  inp = Image.fromarray(image)
43
 
44
+ cond_input = conditioning_image_transforms(inp).to("cpu", torch_dtype=torch.float16)
45
  cond_input = T.ToPILImage()(cond_input)
46
 
47
  output = pipe(