Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,8 @@ def generate(image: Image.Image, edit_prompt: str):
|
|
25 |
spatial_condition=True,
|
26 |
clip_image_processor=None,
|
27 |
image_encoder=None,
|
28 |
-
improj=None
|
|
|
29 |
)
|
30 |
|
31 |
img = image_resize(image, 512)
|
|
|
25 |
spatial_condition=True,
|
26 |
clip_image_processor=None,
|
27 |
image_encoder=None,
|
28 |
+
improj=None,
|
29 |
+
share_position_embedding = True,
|
30 |
)
|
31 |
|
32 |
img = image_resize(image, 512)
|