Weyaxi's picture
Duplicate from Weyaxi/commit-trash-huggingface-spaces-codes
42472b3
raw
history blame contribute delete
419 Bytes
import gradio as gr
from gradio.mix import Parallel
myfirstvariable="My First Text Generation"
mylovelysecondvariable="Input text and submit."
model1=gr.Interface.load("huggingface/gpt2")
model2=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
model3=gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
gr.Parallel(model1, model2, model3 , title=myfirstvariable, description=mylovelysecondvariable).launch()