text_generator / app.py
Wootang01's picture
Correct spacing and spelling
06bea62
raw
history blame
368 Bytes
import gradio as gr
from gradio.mix import Parallel
title="My First Generator"
desciption="Input text and summit."
model1=gr.Interface.load("huggingface/gpt2")
model2=gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
model3=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
gr.Parallel(model1,model2,model3, title=title, description=descrioption).launch()