P01yH3dr0n commited on
Commit
42e59f2
1 Parent(s): 5aba480

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def main_ui():
117
  image, info = preview_ui()
118
  gen_btn.click(generate, paras + [others[0], others[4]], [image, info])
119
  others[2].click(lambda o, s: o if len(s) == 0 else s['parameters']['seed'], inputs=[paras[3], info], outputs=paras[3])
120
- others[3].click(inputs=image, outputs=paras[14])
121
  return page, paras
122
 
123
 
 
117
  image, info = preview_ui()
118
  gen_btn.click(generate, paras + [others[0], others[4]], [image, info])
119
  others[2].click(lambda o, s: o if len(s) == 0 else s['parameters']['seed'], inputs=[paras[3], info], outputs=paras[3])
120
+ others[3].click(lambda i: i, inputs=image, outputs=paras[14])
121
  return page, paras
122
 
123