text_generator / app.py
Wootang01's picture
model1=gr.Interface.load("huggingface/gpt2")
f451458
raw
history blame
388 Bytes
import gradio as gr
from gradio.mix import Parallel
myfirstvariable="My First Text Generator"
mylovelysecondvariable="input text and submit."
model1=gr.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()