File size: 256 Bytes
924942c
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr

def saludar(nombre):
    return f"Hola, {nombre}!"

demo = gr.Interface(
    fn=saludar,
    inputs="text",
    outputs="text",
    title="App basica con Gradio",
    description="Escribi tu nombre y la app te saluda."
)

demo.launch()