Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ def rmGPT(caption, remove_class):
|
|
133 |
@spaces.GPU
|
134 |
def ChangeOBJ(img1, response, mask1):
|
135 |
size = img1.size
|
136 |
-
image = sdxl(prompt=response, image=img1, mask_image=mask1).images[0]
|
137 |
return image.resize((size[0], size[1]))
|
138 |
|
139 |
|
|
|
133 |
@spaces.GPU
|
134 |
def ChangeOBJ(img1, response, mask1):
|
135 |
size = img1.size
|
136 |
+
image = sdxl(prompt=response, image=img1, mask_image=mask1,strength=1.0).images[0]
|
137 |
return image.resize((size[0], size[1]))
|
138 |
|
139 |
|