text_generator / app.py
Wootang01's picture
Update app.py
2afe341
raw
history blame
378 Bytes
#import libraries and dependencies
import gradio as gr
from gradio.mix import Parallel
#instantiate variables as functions
model1 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
model2 = gr.Interface.load("huggingface/google/flan-t5-xl")
model3 = gr.Interface.load("huggingface/Wootang01/distilgpt2-finetuned-prayerjournals")
gr.Parallel(model, model2, model3).launch()