philsco commited on
Commit
8f5ccaf
·
1 Parent(s): 0b70c61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,12 +1,12 @@
1
  import gradio as gr
2
- from gradio import inputs
3
 
4
  description = "Story generation with GPT-2"
5
  title = "Generate your own story"
6
  examples = [["US Aircraft Carrier goes through a wormhole and finds itself in the Pacific Ocean on December 6, 1941"], ["Construction worker digs up what appears to be his own future grave."]]
7
 
8
  interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator",
9
- description=description,
10
  examples=examples
11
  )
12
 
 
1
  import gradio as gr
2
+
3
 
4
  description = "Story generation with GPT-2"
5
  title = "Generate your own story"
6
  examples = [["US Aircraft Carrier goes through a wormhole and finds itself in the Pacific Ocean on December 6, 1941"], ["Construction worker digs up what appears to be his own future grave."]]
7
 
8
  interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator",
9
+ title=description,
10
  examples=examples
11
  )
12