Gradio-Hello / app.py
Antonio49's picture
Update app.py
c428008
raw
history blame contribute delete
680 Bytes
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()