import gradio as gr def test(input: str): return "Hello, " + input demo = gr.Interface(fn=test, inputs="text", outputs="text") demo.launch()