Jay Silverman commited on
Commit
44d916e
·
1 Parent(s): 35a95ea

small model

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -1,8 +1,9 @@
1
  import gradio as gr
2
 
3
- gr.Interface.load(
4
- "huggingface/EleutherAI/gpt-j-6B",
5
  inputs=gr.Textbox(lines=5, label="Start typing your story."),
6
- title="Goos complete bot.",
7
- description="This chatbot will complete any story you wish."
 
8
  ).launch()
 
1
  import gradio as gr
2
 
3
+ gr.load(
4
+ "huggingface/distilgpt2",
5
  inputs=gr.Textbox(lines=5, label="Start typing your story."),
6
+ title="Goos complete bot",
7
+ description="This model will complete any story you wish.",
8
+ examples=["Once upon a time,"]
9
  ).launch()