Spaces:
Runtime error
Runtime error
float
Browse files
app.py
CHANGED
@@ -121,9 +121,9 @@ def predict(
|
|
121 |
negative_pooled_prompt_embeds=pooled[1:2],
|
122 |
width=1024 * scale,
|
123 |
height=1024 * scale,
|
124 |
-
controlnet_conditioning_scale=controlnet_conditioning_scale,
|
125 |
-
controlnet_start=controlnet_start,
|
126 |
-
controlnet_end=controlnet_end,
|
127 |
generator=generator,
|
128 |
num_inference_steps=30,
|
129 |
guidance_scale=guidance_scale,
|
|
|
121 |
negative_pooled_prompt_embeds=pooled[1:2],
|
122 |
width=1024 * scale,
|
123 |
height=1024 * scale,
|
124 |
+
controlnet_conditioning_scale=float(controlnet_conditioning_scale),
|
125 |
+
controlnet_start=float(controlnet_start),
|
126 |
+
controlnet_end=float(controlnet_end),
|
127 |
generator=generator,
|
128 |
num_inference_steps=30,
|
129 |
guidance_scale=guidance_scale,
|