atsantiago's picture
Template 2
10b1625
raw
history blame
389 Bytes
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
gr_input = [
gr.inputs.Image(type='pil', label="Original Image")
]
gr_output = [
gr.outputs.Image(type="pil",label="Output Image")
]
iface = gr.Interface(
fn=greet,
title="Space Title Here",
description = "Description Here",
inputs = gr_input,
outputs = gr_output"
)
iface.launch()