Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def style_aligned_controlnet(reference_prompt, target_prompt, image):
|
|
63 |
#for deph_map, target_prompt in zip((depth_image1, depth_image2), target_prompts):
|
64 |
latents[1:] = torch.randn(num_images_per_prompt, 4, 128, 128).to(pipeline.unet.dtype)
|
65 |
images = pipeline_calls.controlnet_call(pipeline, [reference_prompt, target_prompt],
|
66 |
-
image=
|
67 |
num_inference_steps=50,
|
68 |
controlnet_conditioning_scale=controlnet_conditioning_scale,
|
69 |
num_images_per_prompt=num_images_per_prompt,
|
|
|
63 |
#for deph_map, target_prompt in zip((depth_image1, depth_image2), target_prompts):
|
64 |
latents[1:] = torch.randn(num_images_per_prompt, 4, 128, 128).to(pipeline.unet.dtype)
|
65 |
images = pipeline_calls.controlnet_call(pipeline, [reference_prompt, target_prompt],
|
66 |
+
image=depth_map,
|
67 |
num_inference_steps=50,
|
68 |
controlnet_conditioning_scale=controlnet_conditioning_scale,
|
69 |
num_images_per_prompt=num_images_per_prompt,
|