textgenerator / app.py
221090Lstwcm's picture
Update app.py
370c481
raw
history blame contribute delete
338 Bytes
#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-6B")
model3=gr.Interface.load("huggingface/distilgpt2")
#funcations, parameters and variables
gr.Parallel(model1,model2,model3).launch()