Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -116,11 +116,11 @@ def invert_and_edit(image,
|
|
116 |
[source_prompt, edit_prompt],
|
117 |
height=1024,
|
118 |
width=1024,
|
119 |
-
guidance_scale=[1
|
120 |
output_type="pil",
|
121 |
num_inference_steps=50,
|
122 |
max_sequence_length=512,
|
123 |
-
latents=inverted_latent_list[-1].tile(
|
124 |
inverted_latent_list=inverted_latent_list,
|
125 |
mm_copy_blocks=MULTIMODAL_VITAL_LAYERS,
|
126 |
single_copy_blocks=SINGLE_MODAL_VITAL_LAYERS,
|
|
|
116 |
[source_prompt, edit_prompt],
|
117 |
height=1024,
|
118 |
width=1024,
|
119 |
+
guidance_scale=[1,3],
|
120 |
output_type="pil",
|
121 |
num_inference_steps=50,
|
122 |
max_sequence_length=512,
|
123 |
+
latents=inverted_latent_list[-1].tile(2, 1, 1),
|
124 |
inverted_latent_list=inverted_latent_list,
|
125 |
mm_copy_blocks=MULTIMODAL_VITAL_LAYERS,
|
126 |
single_copy_blocks=SINGLE_MODAL_VITAL_LAYERS,
|