File size: 680 Bytes
cb163f5
 
 
 
 
f547941
2fcc3f1
e1664ea
a48a213
b6d542d
 
2fcc3f1
b6d542d
 
c428008
ec33f91
37e44e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import gradio as gr

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

iface = gr.Interface(fn=greet, inputs="text", outputs="text",
    examples=[
        ["Hello " + "!!"],
        [ "Hello Antonio!!"],
        [ "Hello Pedro!!"],
        [ "Hello 568Ant!!"],
    ],                  
    title="Hola básico",
    description="Aquí hay un saludo básico.",
    article= 'Autor: <a href=\"https://huggingface.co/Antonio49\">Antonio Fernández</a> de <a href=\"https://saturdays.ai/\">SaturdaysAI</a>. Formación: <a href=\"https://cursos.saturdays.ai/courses/\">Cursos Online AI</a> Aplicación desarrollada con fines docentes',                             
)
iface.launch()