atsantiago's picture
template 3
73d3712
raw
history blame
364 Bytes
import gradio as gr
def detr(im):
return im
gr_input = [
gr.inputs.Image(type='pil', label="Original Image")
]
gr_output = [
gr.outputs.Image(type="pil",label="Output Image")
]
iface = gr.Interface(
fn=detr,
title="Space Title Here",
description = "Description Here",
inputs = gr_input,
outputs = gr_output
)
iface.launch()