Jezia's picture
Update app.py
0e3a074
raw
history blame
451 Bytes
import gradio as gr
from gradio import inputs
description = "Text generation with a miniature GPT"
interface = gr.Interface.load("huggingface/keras-io/text-generation-miniature-gpt",
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()