Spaces:
Runtime error
Runtime error
Create app.py2
Browse files
app.py2
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
from gradio.mix import Parallel
|
3 |
+
|
4 |
+
myfirstvariable="My First Text Generator"
|
5 |
+
mylovelysecondvariable="Input text and submit."
|
6 |
+
|
7 |
+
model1=gr.Interface.load("huggingface/gpt2")
|
8 |
+
model2=gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
|
9 |
+
model3=gr.Interface.load("huggingface/bigscience/bloom-560m")
|
10 |
+
|
11 |
+
|
12 |
+
gr.Parallel(model1, model2, model3, title=myfirstvariable, description=mylovelysecondvariable).launch()
|