Spaces:
Runtime error
Runtime error
MelodyKwok
commited on
Commit
•
61cd43a
1
Parent(s):
d43f6d5
Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +2,12 @@ import gradio as gr
|
|
2 |
from gradio.mix import Parallel
|
3 |
|
4 |
title="My First Text Generator"
|
5 |
-
description
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
10 |
|
11 |
-
|
|
|
|
2 |
from gradio.mix import Parallel
|
3 |
|
4 |
title="My First Text Generator"
|
5 |
+
description="Input text."
|
6 |
|
7 |
+
#variables, functions and parameters
|
8 |
+
model1 = gr.Interface.load("huggingface/gpt2")
|
9 |
+
model2 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
10 |
+
model3 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
|
11 |
|
12 |
+
#functions, parameters and variables
|
13 |
+
gr.Parallel(model1, model2, model3,title=title,description=description).launch()
|