Spaces:
Running
on
Zero
Running
on
Zero
zhiweili
commited on
Commit
•
9d380a5
1
Parent(s):
fa61b07
change base model
Browse files- app_text2img.py +2 -2
app_text2img.py
CHANGED
@@ -88,12 +88,12 @@ def image_to_image(
|
|
88 |
generator=generator,
|
89 |
prompt=edit_prompt,
|
90 |
negative_prompt=DEFAULT_NEGATIVE_PROMPT,
|
91 |
-
|
92 |
height=generate_size,
|
93 |
width=generate_size,
|
94 |
guidance_scale=guidance_scale,
|
95 |
num_inference_steps=num_steps,
|
96 |
-
adapter_image=cond_image,
|
97 |
adapter_conditioning_scale=cond_scale,
|
98 |
).images[0]
|
99 |
|
|
|
88 |
generator=generator,
|
89 |
prompt=edit_prompt,
|
90 |
negative_prompt=DEFAULT_NEGATIVE_PROMPT,
|
91 |
+
image=cond_image,
|
92 |
height=generate_size,
|
93 |
width=generate_size,
|
94 |
guidance_scale=guidance_scale,
|
95 |
num_inference_steps=num_steps,
|
96 |
+
# adapter_image=cond_image,
|
97 |
adapter_conditioning_scale=cond_scale,
|
98 |
).images[0]
|
99 |
|