text_generateor / app.py
Wootang01's picture
model2=gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B") and gr.Parallel(model1, model2, model3, title="My First Text Generation", description="Input text and submit").launch()
71454c6
raw history blame
No virus
340 Bytes
import gradio as gr
from gradio.mix import Parallel
model1=gr.Interface.load("huggingface/gpt2")
model2=gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
model3=gr.Interface.load("huggingace/bigscience/bloom-560m")
gr.Parallel(model1, model2, model3, title="My First Text Generation", description="Input text and submit").launch()