ClonChatGPT / app.py
Argentumnes's picture
Update app.py
f909d89 verified
raw
history blame contribute delete
405 Bytes
import gradio as gr
title = "DeepESP/gpt2-spanish"
examples = [
["Todos los hincas de Racing son"],
["Y qué pasó con Boca"],
["Ser hincha de Independiente es vergonzoso"],
]
demo = gr.load(
"huggingface/DeepESP/gpt2-spanish",
inputs=gr.Textbox(lines=5, max_lines=6, label="Ingresa un texto"),
title=title,
examples=examples,
)
if __name__ == "__main__":
demo.launch()