File size: 322 Bytes
a970736
95e2df7
cca7e91
95e2df7
 
 
a970736
1
2
3
4
5
6
7
import gradio as gr

description = "Story generation with GPT-2"

interface = gr.Interface(fn=None, title="Story Generation with GPT-2", inputs=[gr.Textbox(lines=7, label="Story")], description=description, examples=[["Adventurer is approached by a mysterious stranger in the tavern for a new quest"]])

interface.launch()