P01yH3dr0n commited on
Commit
dc547aa
1 Parent(s): 868b486

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ def main_ui():
119
  gen_btn.click(generate, paras + [others[0], others[5]], [image, info])
120
  others[2].click(lambda o, s: o if len(s) == 0 else s['parameters']['seed'], inputs=[paras[3], info], outputs=paras[3])
121
  others[3].click(lambda i: i, inputs=image, outputs=paras[14])
122
- others[4].click(lambda i: {'background': i, 'layers':[None], 'composite': None}, inputs=image, outputs=paras[17])
123
  return page, paras
124
 
125
 
 
119
  gen_btn.click(generate, paras + [others[0], others[5]], [image, info])
120
  others[2].click(lambda o, s: o if len(s) == 0 else s['parameters']['seed'], inputs=[paras[3], info], outputs=paras[3])
121
  others[3].click(lambda i: i, inputs=image, outputs=paras[14])
122
+ others[4].click(lambda i, d: {'background': i, 'layers':d['layers'], 'composite': None}, inputs=[image, paras[17]], outputs=paras[17])
123
  return page, paras
124
 
125