Spaces:
Build error
Build error
Update app.py
Browse files68 unmodified lines697071727374757677787980818283848586878889909192939495969721 unmodified lines11912012112268 unmodified linesreturn (np.array(img_pasted), np.array(output_image))with gr.Blocks(css="""body::before {content: "";display: block;height: 320px;background-color: inherit;}button[aria-label="Download"] {transform: scale(3);transform-origin: top right;margin: 0 !important;padding: 6px !important;}button[aria-label="Share"] {display: none;}button[aria-label="Copy link"] {display: none;}button[aria-label="Open in new tab"] {display: none;}""", title="") as demo:gr.Markdown("")with gr.Row():21 unmodified linesbg_gallery.select(bg_gallery_selected, inputs=bg_gallery, outputs=bg_image)if __name__ == "__main__":demo.queue().launch(show_api=False)68 unmodified lines6970717273747576777879808182838485868788899091929394959697989910010110221 unmodified lines12412512612768 unmodified linesreturn (np.array(img_pasted), np.array(output_image))with gr.Blocks() as app:gr.HTML("""<style>body::before {content: "";display: block;height: 320px;background-color: var(--body-background-fill);}button[aria-label="Fullscreen"], button[aria-label="Fullscreen"]:hover {display: none !important;visibility: hidden !important;opacity: 0 !important;pointer-events: none !important;}button[aria-label="Share"], button[aria-label="Share"]:hover {display: none !important;}button[aria-label="Download"] {transform: scale(3);transform-origin: top right;margin: 0 !important;padding: 6px !important;}</style>""")gr.Markdown("")gr.Markdown("")with gr.Row():21 unmodified linesbg_gallery.select(bg_gallery_selected, inputs=bg_gallery, outputs=bg_image)if __name__ == "__main__":app.launch(share=True)
app.py+29-24