text_generator / app.py
Matthew1917's picture
Update app.py
a7df4e0
raw
history blame contribute delete
343 Bytes
import gradio as gr
from gradio.mix import Parallel
titl="Doing magic"
desc="Generate now"
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=titl, description=desc).launch()