Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,7 +147,9 @@ with gr.Blocks(css=css, fill_height=True) as demo:
|
|
| 147 |
)
|
| 148 |
control_mode = gr.Dropdown(
|
| 149 |
label="ControlNet mode",
|
| 150 |
-
|
|
|
|
|
|
|
| 151 |
)
|
| 152 |
controlnet_checkbox.change(
|
| 153 |
controlnet_params,
|
|
|
|
| 147 |
)
|
| 148 |
control_mode = gr.Dropdown(
|
| 149 |
label="ControlNet mode",
|
| 150 |
+
choices=["edge_detection", "other"],
|
| 151 |
+
value="edge_detection",
|
| 152 |
+
max_choices=1
|
| 153 |
)
|
| 154 |
controlnet_checkbox.change(
|
| 155 |
controlnet_params,
|