Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -365,10 +365,6 @@ with gr.Blocks() as demo:
|
|
365 |
resize_option, custom_resize_percentage, prompt_input, alignment_dropdown,
|
366 |
overlap_left, overlap_right, overlap_top, overlap_bottom],
|
367 |
outputs=result,
|
368 |
-
).then(#update the history gallery
|
369 |
-
fn=lambda x, history: update_history(x[1], history),
|
370 |
-
inputs=[result, history_gallery],
|
371 |
-
outputs=history_gallery,
|
372 |
)
|
373 |
|
374 |
preview_button.click(
|
|
|
365 |
resize_option, custom_resize_percentage, prompt_input, alignment_dropdown,
|
366 |
overlap_left, overlap_right, overlap_top, overlap_bottom],
|
367 |
outputs=result,
|
|
|
|
|
|
|
|
|
368 |
)
|
369 |
|
370 |
preview_button.click(
|