File size: 380 Bytes
9409693
921106e
da25f0c
921106e
9409693
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
#libraries
import gradio as gr
from gradio.mix import Parallel

#variables, functions and parameters
model1=gr.Interface.load("huggingface/gpt2")
model2=gr.Interface.load("huggingface/EleutherAI/gpt-j-d")         
model3=gr.Interface.load("huggingface/distilgpt2")

#funcations, parameters and variables
 gr.Parallel("model1, model2, model3).launch()