Cognomen commited on
Commit
f55a34e
Β·
1 Parent(s): cf1b1ed

imported as Image

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ generator = torch.manual_seed(0)
36
  # inference function takes prompt, negative prompt and image
37
  def infer(prompt, negative_prompt, image):
38
  # implement your inference function here
39
- inp = PIL.Image.fromarray(image)
40
 
41
  cond_input = conditioning_image_transforms(inp)
42
  #cond_input = T.ToPILImage(cond_input)
 
36
  # inference function takes prompt, negative prompt and image
37
  def infer(prompt, negative_prompt, image):
38
  # implement your inference function here
39
+ inp = Image.fromarray(image)
40
 
41
  cond_input = conditioning_image_transforms(inp)
42
  #cond_input = T.ToPILImage(cond_input)