Spaces:
Sleeping
Sleeping
File size: 501 Bytes
1e01803 64e7068 2c11349 e97e95f 8aa4440 d8aad88 64e7068 8aa4440 64e7068 1e01803 9a8e13a |
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"]
]
model1=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
model2=gr.Interface.load("huggingface/gpt2")
model3=gr.Interface.load("huggingface/EleutherAI/gpt-neo-125M")
gr.Parallel(model1, model2, model3, title=title, description=description, examples=examples).launch() |