Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files468 unmodified lines469470471472473474475476477478479480481482483484485468 unmodified linesresize_option, custom_resize_percentage, prompt_input, alignment_dropdown,overlap_left, overlap_right, overlap_top, overlap_bottom],outputs=result,).then( # Update the history galleryfn=lambda x, history: update_history(x[1], history),inputs=[result, history_gallery],outputs=history_gallery,show_api=False).then( # Show the "Use as Input Image" buttonfn=lambda: gr.update(visible=True),inputs=None,outputs=use_as_input_button,show_api=False)prompt_input.submit( # Clear the resultfn=clear_result,468 unmodified lines469470471472473474475476477478479480481482483484468 unmodified linesresize_option, custom_resize_percentage, prompt_input, alignment_dropdown,overlap_left, overlap_right, overlap_top, overlap_bottom],outputs=result,).then( # Show the "Use as Input Image" buttonfn=lambda: gr.update(visible=True),inputs=None,outputs=use_as_input_button,show_api=False).then( # Update the history galleryfn=lambda x, history: update_history(x[1], history),inputs=[result, history_gallery],outputs=history_gallery,show_api=Falseprompt_input.submit( # Clear the resultfn=clear_result,
app.py+5-6