Spaces:
Sleeping
Sleeping
File size: 294 Bytes
9ddcbad 6e7d4b9 9ddcbad fdc6d7d 9ddcbad d321ba4 fdc6d7d b27e7fb fdc6d7d |
1 2 3 4 5 6 7 8 9 10 11 12 |
import gradio as gr
import os
def echo_image(image):
return image
image_input = gr.Image(type="pil")
image_output = gr.Image(type="pil")
interface = gr.Interface(fn=echo_image, inputs=image_input, outputs=image_output)
interface.launch(server_port=os.getenv('GRADIO_SERVER_PORT', 7860))
|