Cognomen commited on
Commit
27ad1ef
Β·
1 Parent(s): 52c932d

convert to np array

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