lakshman111's picture
create echo_image
f550b47
raw
history blame
289 Bytes
def echo_image(image):
return image
demo = gr.Interface(
fn=echo_image,
inputs=[
gr.components.Image(type="pil", shape=(512, 512)),
],
outputs=[
gr.components.Image(type="pil", shape=(512, 512), label="output-1")
],
)
demo.launch(inline=False)