Upload app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ pipe.flux_pipe_call_that_returns_an_iterable_of_images = flux_pipe_call_that_ret
|
|
50 |
# https://huggingface.co/InstantX/FLUX.1-dev-Controlnet-Union
|
51 |
# https://huggingface.co/spaces/jiuface/FLUX.1-dev-Controlnet-Union
|
52 |
@spaces.GPU()
|
53 |
-
def change_base_model(repo_id: str, cn_on: bool
|
54 |
global pipe
|
55 |
global controlnet_union
|
56 |
global controlnet
|
|
|
50 |
# https://huggingface.co/InstantX/FLUX.1-dev-Controlnet-Union
|
51 |
# https://huggingface.co/spaces/jiuface/FLUX.1-dev-Controlnet-Union
|
52 |
@spaces.GPU()
|
53 |
+
def change_base_model(repo_id: str, cn_on: bool): # , progress=gr.Progress(track_tqdm=True) # gradio.exceptions.Error: 'Model load Error: too many values to unpack (expected 2)'
|
54 |
global pipe
|
55 |
global controlnet_union
|
56 |
global controlnet
|