Spaces:
Runtime error
Runtime error
import gradio as gr | |
from gradio.mix import Parallel | |
title="My First Text Generator" | |
description="Input text." | |
examples = [ | |
["Once upon 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() |