Travis Corrigan commited on
Commit
e685546
1 Parent(s): 4d73293

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -1,7 +1,5 @@
1
  import gradio as gr
2
-
3
- def greet(name):
4
- return "Hello " + name + "!!"
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)