import gradio as gr
from gradio import inputs


def greet(name):
    return "Hello " + name + "!!"


ui = gr.Interface(greet, inputs="text", outputs="text")
ui.launch()