lakshman111/imageprocessingdebugging
0
1import gradio as gr2 3def echo_image(image):4 return image5 6demo = gr.Interface(7 fn=echo_image, 8 inputs=[9 gr.components.Image(type="pil", shape=(512, 512)), 10 ], 11 outputs=[12 gr.components.Image(type="pil", shape=(512, 512), label="output-1")13 ], 14)15 16demo.launch(inline=False)