Gradio / app.py
Wootang01's picture
Please spell Parallel and College carefully!
b6108bf
raw
history blame
460 Bytes
import gradio as gr
from gradio.mix import Parallel
title="My First Text Generation"
description="Input Text"
examples = [
["Once apon a time"]
["Dr Woo was teaching a coding workshop at Hong Kong True Light College"]
]
gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
gr.Interface.load("huggingface/gpt2")
gr.Interface.load("huggingface/EleutherAI/gpt-neo-125M")
gr.Parallel(model1, model2, model3, title=title, description=description).launch()