P01yH3dr0n commited on
Commit
5042117
1 Parent(s): 71e2236

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -119,8 +119,8 @@ 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, d: {'background': i, 'layers':d['layers'], 'composite': None}, inputs=[image, paras[17]], outputs=paras[17])
123
- return page, paras
124
 
125
 
126
  def util_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, d: {'background': i, 'layers':d['layers'], 'composite': None}, inputs=[image, paras[17]], outputs=paras[17])
123
+ return page, paras[:14]
124
 
125
 
126
  def util_ui():