Omar Sanseviero commited on
Commit
5cb7ab4
·
1 Parent(s): 9e10f73

Create app.py

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