invalid-space / app.py
abidlabs's picture
abidlabs HF Staff
Update app.py
2ba37e5 verified
raw
history blame contribute delete
261 Bytes
import gradio as gr
def echo_image(image):
return image
demo = gr.Interface(
fn=echo_image,
inputs=[
gr.components.Image(shape=(512, 512)),
],
outputs=[
gr.components.Image(shape=(512, 512), label="output-1")
],
)