Spaces:
Runtime error
Runtime error
File size: 261 Bytes
c1659de |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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")
],
)
|