Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
import gradio as gr
|
2 |
-
from gradio.mix import Parallel
|
3 |
|
4 |
-
|
5 |
-
|
6 |
|
7 |
-
model1=gr.Interface.load("huggingface/gpt2")
|
8 |
-
model2=gr.Interface.load("huggingface/EleutherAI/gpt-
|
9 |
-
model3=gr.Interface.load("huggingface/
|
10 |
|
11 |
-
gr.Parallel(model1, model2, model3, title=
|
|
|
1 |
+
import gradio as gr
|
2 |
+
from gradio.mix import Parallel
|
3 |
|
4 |
+
ttl="Doing magic"
|
5 |
+
desc="Generate now"
|
6 |
|
7 |
+
model1 = gr.Interface.load("huggingface/gpt2")
|
8 |
+
model2 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
9 |
+
model3 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
|
10 |
|
11 |
+
gr.Parallel(model1, model2, model3, title=ttl, description=desc).launch()
|