Team Ai
Apppublic

lakshman111/imageprocessingdebugging

sourceHugging Faceupdated 4y agoView on Hugging Face
0likes
app.py16 linesDownload Raw Back to root
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)