Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ config_file = hf_hub_download(
|
|
17 |
filename="config_promax.json",
|
18 |
)
|
19 |
|
20 |
-
config =
|
21 |
controlnet_model = ControlNetModel_Union.from_config(config)
|
22 |
model_file = hf_hub_download(
|
23 |
"xinsir/controlnet-union-sdxl-1.0",
|
|
|
17 |
filename="config_promax.json",
|
18 |
)
|
19 |
|
20 |
+
config = ControlNetModel_Union.load_config(config_file)
|
21 |
controlnet_model = ControlNetModel_Union.from_config(config)
|
22 |
model_file = hf_hub_download(
|
23 |
"xinsir/controlnet-union-sdxl-1.0",
|