terrencemiao commited on
Commit
db32f6d
·
verified ·
1 Parent(s): 41a103c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -4,6 +4,9 @@ description = "Story generation with GPT-2"
4
  title = "Generate your own story"
5
  examples = [["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]]
6
 
7
- iface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator")
 
 
 
8
 
9
- iface.launch(share=True)
 
4
  title = "Generate your own story"
5
  examples = [["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]]
6
 
7
+ iface = gr.Interface(
8
+ description=description,
9
+ examples=examples
10
+ )
11
 
12
+ iface.launch()