Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,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 |
-
|
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 |
|