File size: 460 Bytes
1e01803
b6108bf
2c11349
 
e97e95f
8aa4440
 
b6108bf
8aa4440
2c11349
 
 
1e01803
6792fe6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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()