File size: 269 Bytes
4a0f268
dc92a82
 
 
 
 
 
 
 
4a0f268
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr
from gradio.mix import Parallel

paco="My First Text Generator"
tom="Input"
model1=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
model2=gr.Interface.load("huggingface/gpt2")

gr.Parallel(model1, model2, title=paco, description=tom).launch()