import gradio as gr title = "Story generation with GPT-2" description = "Write your own story with AI!" interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator", description=description, title=title, examples=[["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]] ) interface.launch()