Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ model_file = hf_hub_download(
|
|
38 |
|
39 |
state_dict = load_state_dict(model_file)
|
40 |
model, _, _, _, _ = ControlNetModel_Union._load_pretrained_model(
|
41 |
-
controlnet_model, state_dict,
|
42 |
)
|
43 |
|
44 |
|
|
|
38 |
|
39 |
state_dict = load_state_dict(model_file)
|
40 |
model, _, _, _, _ = ControlNetModel_Union._load_pretrained_model(
|
41 |
+
controlnet_model, state_dict, model_file, "xinsir/controlnet-union-sdxl-1.0"
|
42 |
)
|
43 |
|
44 |
|