File size: 227 Bytes
5e8395e
 
1ed5ce5
 
 
 
 
a5027b3
 
1ed5ce5
5e8395e
a5027b3
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr

def identity_function(input_image):
    return input_image

iface = gr.Interface(
    fn=identity_function,
    inputs=gr.inputs.Image(type="pil"),
    outputs=gr.outputs.Image(type="pil")
)

iface.launch()