text-generation / app.py
Jezia's picture
Update app.py
63ceda2
raw
history blame
417 Bytes
import gradio as gr
from gradio import inputs
description = "Text generation with a miniature GPT"
interface = gr.Interface.load("huggingface/gpt2",
title = "Text Generation with a miniature GPT",
inputs = [
gr.inputs.Textbox(lines=2, label="Text"),
],
description=description,
examples=[["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]]
)
interface.launch()