John6666 commited on
Commit
0b43bd5
β€’
1 Parent(s): 054a035

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, progress=gr.Progress(track_tqdm=True)): # , 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
 
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