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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ 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
  )
 
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.load("huggingface/pranavpsv/gpt2-genre-story-generator",
9
+ src="models",
10
  title=description,
11
  examples=examples
12
  )