Cognomen commited on
Commit
bf7f0ca
Β·
1 Parent(s): a8323ab

don't convert to PIL

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def infer(prompt, negative_prompt, image):
34
  # implement your inference function here
35
 
36
  cond_input = conditioning_image_transforms(np.array(image))
37
- cond_input = T.ToPILImage(cond_input)
38
 
39
  output = pipe(
40
  prompt,
 
34
  # implement your inference function here
35
 
36
  cond_input = conditioning_image_transforms(np.array(image))
37
+ #cond_input = T.ToPILImage(cond_input)
38
 
39
  output = pipe(
40
  prompt,