MaxMilan1 commited on
Commit
a32dff0
1 Parent(s): 48a21a5
Files changed (1) hide show
  1. util/text_img.py +1 -1
util/text_img.py CHANGED
@@ -44,7 +44,7 @@ def generate_image(prompt, negative_prompt, control_image, scale=0.5):
44
  controlnet_conditioning_scale=scale,
45
  ).images[0]
46
  image2 = rembg.remove(image)
47
- image2 = Image.fromarray(image2)
48
 
49
  return image2
50
 
 
44
  controlnet_conditioning_scale=scale,
45
  ).images[0]
46
  image2 = rembg.remove(image)
47
+ print(image2)
48
 
49
  return image2
50