Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ def infer(
|
|
| 94 |
safety_checker=None).to(device)
|
| 95 |
print(type(controlnet_image))
|
| 96 |
controlnet_image = load_image(controlnet_image).convert('RGB')
|
| 97 |
-
params['
|
| 98 |
params['controlnet_conditioning_scale'] = controlnet_strength
|
| 99 |
print(type(controlnet_image))
|
| 100 |
else:
|
|
|
|
| 94 |
safety_checker=None).to(device)
|
| 95 |
print(type(controlnet_image))
|
| 96 |
controlnet_image = load_image(controlnet_image).convert('RGB')
|
| 97 |
+
params['image'] = controlnet_image
|
| 98 |
params['controlnet_conditioning_scale'] = controlnet_strength
|
| 99 |
print(type(controlnet_image))
|
| 100 |
else:
|