Spaces:
Build error
Build error
| 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=[["A kid is playing "]] | |
| ) | |
| interface.launch() |