ifmain commited on
Commit
e8eb6dd
1 Parent(s): 71044b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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