multimodalart HF staff commited on
Commit
f3d3190
1 Parent(s): 8295726

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -364,7 +364,7 @@ with gr.Blocks(css=css) as demo:
364
  overlap_left, overlap_right, overlap_top, overlap_bottom],
365
  outputs=[result, preview_image],
366
  ).then(
367
- fn=lambda x, history: update_history(x[1], history),
368
  inputs=[result, history_gallery],
369
  outputs=history_gallery,
370
  ).then(
 
364
  overlap_left, overlap_right, overlap_top, overlap_bottom],
365
  outputs=[result, preview_image],
366
  ).then(
367
+ fn=lambda x, history: update_history(x, history),
368
  inputs=[result, history_gallery],
369
  outputs=history_gallery,
370
  ).then(