import gradio as gr def saluda(nom): return "Hola " + nom demo = gr.Interface(fn=saluda, inputs="text", outputs="text") demo.launch()