File size: 365 Bytes
97d787c
6d3c964
97d787c
6d3c964
 
 
 
 
 
 
d43f6d5
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr
from gradio.mix import Parallel

title="My First Text Generator"
description ="Input text"

model1=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
model2=gr.Interface.load("huggingface/gpt2")
model3=gr.Interface.load("huggingface/EleutherAI/gpt-neo-125M")

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