Spaces:
Running
Running
Commit
·
6b1b6cf
1
Parent(s):
9ee219e
options/Banner_Model/Image2Image.py
CHANGED
@@ -99,6 +99,7 @@ def I2I(
|
|
99 |
num_inference_steps=num_inference_steps_slider
|
100 |
).images[0]
|
101 |
print('INFERENCE DONE')
|
|
|
102 |
return result
|
103 |
|
104 |
def remove_background(image: Image.Image, threshold: int = 50) -> Image.Image:
|
|
|
99 |
num_inference_steps=num_inference_steps_slider
|
100 |
).images[0]
|
101 |
print('INFERENCE DONE')
|
102 |
+
imageio.imwrite("output_image.png", result)
|
103 |
return result
|
104 |
|
105 |
def remove_background(image: Image.Image, threshold: int = 50) -> Image.Image:
|
options/__pycache__/Banner.cpython-310.pyc
CHANGED
Binary files a/options/__pycache__/Banner.cpython-310.pyc and b/options/__pycache__/Banner.cpython-310.pyc differ
|
|