text_generator / app.py
EllaTsoi's picture
Update app.py
68fa49e
raw
history blame
385 Bytes
import gradio as gr
from gradio.mix import Parallel
myfirstvariable="My First Text Generator"
mylovelysecondvariable="input text and submit."
model1=Interface.load("huggingface/gpt2")
model2=Interface.load("huggingface/EleutherAI/gpt-j-6B")
model3=Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
gr.Parallel(model1,model2,model3,title=title,description=description).launch()