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