MelodyKwok commited on
Commit
6d3c964
1 Parent(s): 5f39955

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -1,3 +1,11 @@
1
  import gradio as gr
 
2
 
3
- gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", title="My First Text Generator", description ="Input text").launch()
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
+ from gradio.mix import Parallel
3
 
4
+ title="My First Text Generator"
5
+ description ="Input text"
6
+
7
+ model1=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
8
+ model2=gr.Interface.load("huggingface/gpt2")
9
+ model3=gr.Interface.load("huggingface/EleutherAI/gpt-neo-125M")
10
+
11
+ gr.Parallel(modle1, model2, model3, title=title, description =description).launch()