Spaces:
Runtime error
Runtime error
Commit ·
6f5c787
1
Parent(s): a970736
fixed title
Browse files
app.py
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
|
| 2 |
import gradio as gr
|
| 3 |
-
|
|
|
|
| 4 |
interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator",
|
| 5 |
description=description,
|
|
|
|
| 6 |
examples=[["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]]
|
| 7 |
)
|
| 8 |
interface.launch()
|
|
|
|
| 1 |
|
| 2 |
import gradio as gr
|
| 3 |
+
title = "Story generation with GPT-2"
|
| 4 |
+
description = "Write your own story with AI!"
|
| 5 |
interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator",
|
| 6 |
description=description,
|
| 7 |
+
title=title,
|
| 8 |
examples=[["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]]
|
| 9 |
)
|
| 10 |
interface.launch()
|