Spaces:
Runtime error
Runtime error
mervenoyan
commited on
Commit
β’
a970736
1
Parent(s):
acf4328
initial commit
Browse files
app.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
import gradio as gr
|
3 |
+
description = "Story generation with GPT-2"
|
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()
|