Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
title = "GPT-J-6B"
|
@@ -9,9 +10,10 @@ To use it, simply add your text, or click one of the examples to load them. \
|
|
9 |
I've used the API on this Space to deploy the GPT-J-6B model on a Telegram bot. \
|
10 |
Link to blog post below π"
|
11 |
|
|
|
12 |
|
13 |
examples = [
|
14 |
-
['
|
15 |
["The Moon's orbit around Earth has"],
|
16 |
["The smooth Borealis basin in the Northern Hemisphere covers 40%"]
|
17 |
]
|
@@ -19,5 +21,6 @@ examples = [
|
|
19 |
gr.Interface.load("huggingface/EleutherAI/gpt-j-6B",
|
20 |
inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
|
21 |
title=title,description=description,
|
|
|
22 |
examples=examples,
|
23 |
enable_queue=True).launch()
|
|
|
1 |
+
|
2 |
import gradio as gr
|
3 |
|
4 |
title = "GPT-J-6B"
|
|
|
10 |
I've used the API on this Space to deploy the GPT-J-6B model on a Telegram bot. \
|
11 |
Link to blog post below π"
|
12 |
|
13 |
+
article =""
|
14 |
|
15 |
examples = [
|
16 |
+
['Capital city of Malaysia is Kuala Lumpur,'],
|
17 |
["The Moon's orbit around Earth has"],
|
18 |
["The smooth Borealis basin in the Northern Hemisphere covers 40%"]
|
19 |
]
|
|
|
21 |
gr.Interface.load("huggingface/EleutherAI/gpt-j-6B",
|
22 |
inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
|
23 |
title=title,description=description,
|
24 |
+
article=article,
|
25 |
examples=examples,
|
26 |
enable_queue=True).launch()
|