lixiang46
commited on
Commit
•
02e1782
1
Parent(s):
03fd402
update
Browse files
app.py
CHANGED
@@ -245,7 +245,7 @@ with gr.Blocks(css=css) as Kolors:
|
|
245 |
|
246 |
canny_button.click(
|
247 |
fn = change_type,
|
248 |
-
|
249 |
outputs = controlnet_type
|
250 |
).then(
|
251 |
fn = infer,
|
@@ -255,7 +255,7 @@ with gr.Blocks(css=css) as Kolors:
|
|
255 |
|
256 |
depth_button.click(
|
257 |
fn = change_type,
|
258 |
-
|
259 |
outputs = controlnet_type
|
260 |
).then(
|
261 |
fn = infer,
|
|
|
245 |
|
246 |
canny_button.click(
|
247 |
fn = change_type,
|
248 |
+
inputs = ["Canny"],
|
249 |
outputs = controlnet_type
|
250 |
).then(
|
251 |
fn = infer,
|
|
|
255 |
|
256 |
depth_button.click(
|
257 |
fn = change_type,
|
258 |
+
inputs = ["Depth"],
|
259 |
outputs = controlnet_type
|
260 |
).then(
|
261 |
fn = infer,
|