Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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:
|