Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -151,6 +151,9 @@ def infer(
|
|
151 |
controlnet_changed = False
|
152 |
|
153 |
if cn_enable:
|
|
|
|
|
|
|
154 |
if dict_controlnet[cn_mode] != pipe.controlnet._name_or_path:
|
155 |
controlnet = ControlNetModel.from_pretrained(
|
156 |
dict_controlnet[cn_mode],
|
|
|
151 |
controlnet_changed = False
|
152 |
|
153 |
if cn_enable:
|
154 |
+
print(cn_mode)
|
155 |
+
print(dict_controlnet)
|
156 |
+
print(pipe.controlnet._name_or_path)
|
157 |
if dict_controlnet[cn_mode] != pipe.controlnet._name_or_path:
|
158 |
controlnet = ControlNetModel.from_pretrained(
|
159 |
dict_controlnet[cn_mode],
|