text_generator / app.py
dipperpines's picture
Update app.py
75eeb78
raw
history blame contribute delete
440 Bytes
import gradio as gr
from gradio.mix import Parallel
title="My First Generator"
description="Input text and summit."
model1=gr.Interface.load("huggingface/gpt2")
model2=gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
model3=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
model4=gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B")
gr.Parallel(model1,model2,model3,model4, title=title, description=description).launch()