Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,13 @@ from gradio.mix import Parallel
|
|
3 |
|
4 |
title="My First Text Generator"
|
5 |
description="Input text."
|
|
|
|
|
|
|
|
|
6 |
|
7 |
model1=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
8 |
model2=gr.Interface.load("huggingface/gpt2")
|
9 |
model3=gr.Interface.load("huggingface/EleutherAI/gpt-neo-125M")
|
10 |
|
11 |
-
gr.Parallel(model1, model2, model3, title=title, description=description).launch()
|
|
|
3 |
|
4 |
title="My First Text Generator"
|
5 |
description="Input text."
|
6 |
+
examples = [
|
7 |
+
["Once upon a time, "],
|
8 |
+
["Dr Woo was teaching a coding workshop at Hong Kong True Light College."]
|
9 |
+
]
|
10 |
|
11 |
model1=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
12 |
model2=gr.Interface.load("huggingface/gpt2")
|
13 |
model3=gr.Interface.load("huggingface/EleutherAI/gpt-neo-125M")
|
14 |
|
15 |
+
gr.Parallel(model1, model2, model3, title=title, description=description, examples=examples).launch()
|