test_generator / app.py
DonnyChuang's picture
Update app.py
af77e54
raw
history blame
384 Bytes
import gradio as gr
from gradio.mix import Parallel
title="My First Text Generator"
description="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.Interface.load(model1, model2, model3, title=title, description=description).launch()