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