r3gm commited on
Commit
5dfc6a4
1 Parent(s): c90c345

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -602,6 +602,7 @@ with gr.Blocks(theme="NoCrypt/miku", css=CSS) as app:
602
  preprocessor_name_gui = gr.Dropdown(label="Preprocessor Name", choices=preprocessor_controlnet["canny"])
603
 
604
  def change_preprocessor_choices(task):
 
605
  if task in preprocessor_controlnet.keys():
606
  choices_task = preprocessor_controlnet[task]
607
  else:
 
602
  preprocessor_name_gui = gr.Dropdown(label="Preprocessor Name", choices=preprocessor_controlnet["canny"])
603
 
604
  def change_preprocessor_choices(task):
605
+ task = task_stablepy[task]
606
  if task in preprocessor_controlnet.keys():
607
  choices_task = preprocessor_controlnet[task]
608
  else: