whale-shark commited on
Commit
bdf8fe6
1 Parent(s): 2459d5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -2
app.py CHANGED
@@ -1,6 +1,18 @@
1
  import gradio as gr
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- title "My First Text Generation"
4
- description="Input text and submit"
5
 
6
  gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B",title=title,description=description).launch()
 
1
  import gradio as gr
2
+ from gradio.mix import Parallel
3
+
4
+
5
+
6
+
7
+ Myfirstvariable="My First Text Generation"
8
+ mylovelysecondvariable="Input text and submit"
9
+
10
+ model1=gr.Interface.load("huggingface/gpt2")
11
+ model2=gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.38")
12
+ model3=gr.Interface.load("huggingace/bigscience/bloom-560m")
13
+
14
+ gr.Parallel(model1, model2, model3,)
15
+
16
 
 
 
17
 
18
  gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B",title=title,description=description).launch()