lixiang46 commited on
Commit
78697e3
1 Parent(s): 02e1782
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -245,7 +245,7 @@ with gr.Blocks(css=css) as Kolors:
245
 
246
  canny_button.click(
247
  fn = change_type,
248
- inputs = ["Canny"],
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
- inputs = ["Depth"],
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,