text_generator / app.py
Wootang01's picture
model2=gr.interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
af12fd1
raw history blame
No virus
395 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=gr.interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
model3=gr.interface.load("huggingface/bigscience/bloom-560m")
gr.Parallel(model1, model2, model3, title=first, description=second).launch()