Wootang02 commited on
Commit
dc92a82
1 Parent(s): 8574dd5

Update app.py

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