Spaces:
Runtime error
Runtime error
Travis Corrigan
commited on
Commit
•
e685546
1
Parent(s):
4d73293
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
-
iface.launch(share="True")
|
|
|
1 |
import gradio as gr
|
2 |
+
description = "Story generation with GPT"
|
3 |
+
examples = [["An adventurer is approached by a mysterious stranger in the tavern for a new quest."]]
|
4 |
+
demo = gr.Interface.load("models/EleutherAI/gpt-neo-1.3B", description=description, examples=examples)
|
5 |
+
demo.launch(share=True)
|
|
|
|