File size: 371 Bytes
798adf4
 
6b576f2
 
 
798adf4
6b576f2
266bd43
17cbb54
6b576f2
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr

description = "Story generation with GPT-2"
title = "Generate your own story"
examples = [["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]]

interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator",
           # description=description,
           # examples=examples
)

interface.launch()