Spaces:
Running
on
Zero
Running
on
Zero
Update optimized.py
Browse files- optimized.py +2 -2
optimized.py
CHANGED
@@ -125,8 +125,8 @@ def generate_image(prompt, scale, steps, control_image, controlnet_conditioning_
|
|
125 |
guidance_scale=guidance_scale,
|
126 |
height=h,
|
127 |
width=w,
|
128 |
-
control_guidance_start=
|
129 |
-
control_guidance_end=
|
130 |
).images[0]
|
131 |
return image
|
132 |
# Create Gradio interface
|
|
|
125 |
guidance_scale=guidance_scale,
|
126 |
height=h,
|
127 |
width=w,
|
128 |
+
control_guidance_start=guidance_start,
|
129 |
+
control_guidance_end=guidance_end
|
130 |
).images[0]
|
131 |
return image
|
132 |
# Create Gradio interface
|