Spaces:
Running
on
Zero
Running
on
Zero
Update controlnet/callable_functions.py
Browse files
controlnet/callable_functions.py
CHANGED
@@ -56,7 +56,7 @@ def process_single_image(model,image_path, prompt, num_inference_steps, stylecod
|
|
56 |
#image=image,
|
57 |
num_inference_steps=num_inference_steps,
|
58 |
generator=generator,
|
59 |
-
controlnet_conditioning_scale=0.
|
60 |
width=512,
|
61 |
height=512,
|
62 |
stylecode=stylecode,
|
@@ -110,7 +110,7 @@ def process_single_image_both_ways(model,image_path, prompt, num_inference_steps
|
|
110 |
image=image,
|
111 |
num_inference_steps=num_inference_steps,
|
112 |
generator=generator,
|
113 |
-
controlnet_conditioning_scale=0.
|
114 |
width=512,
|
115 |
height=512,
|
116 |
stylecode=None,
|
|
|
56 |
#image=image,
|
57 |
num_inference_steps=num_inference_steps,
|
58 |
generator=generator,
|
59 |
+
controlnet_conditioning_scale=0.8,
|
60 |
width=512,
|
61 |
height=512,
|
62 |
stylecode=stylecode,
|
|
|
110 |
image=image,
|
111 |
num_inference_steps=num_inference_steps,
|
112 |
generator=generator,
|
113 |
+
controlnet_conditioning_scale=0.8,
|
114 |
width=512,
|
115 |
height=512,
|
116 |
stylecode=None,
|