Spaces:
Runtime error
Runtime error
Jay Silverman commited on
Commit ·
44d916e
1
Parent(s): 35a95ea
small model
Browse files
app.py
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
gr.
|
| 4 |
-
"huggingface/
|
| 5 |
inputs=gr.Textbox(lines=5, label="Start typing your story."),
|
| 6 |
-
title="Goos complete bot
|
| 7 |
-
description="This
|
|
|
|
| 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()
|