Spaces:
Runtime error
Runtime error
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() |