Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def generate_(prompt, negative_prompt, control_tensor, num_steps, controlnet_con
|
|
28 |
gen_img = pipe(
|
29 |
negative_prompt=negative_prompt,
|
30 |
prompt=prompt,
|
31 |
-
controlnet_conditioning_scale=controlnet_conditioning_scale,
|
32 |
num_inference_steps=num_steps,
|
33 |
image = control_tensor,
|
34 |
generator=generator
|
|
|
28 |
gen_img = pipe(
|
29 |
negative_prompt=negative_prompt,
|
30 |
prompt=prompt,
|
31 |
+
controlnet_conditioning_scale=float(controlnet_conditioning_scale),
|
32 |
num_inference_steps=num_steps,
|
33 |
image = control_tensor,
|
34 |
generator=generator
|