text_generator1 / app.py
Wootang02's picture
Update app.py
038a1bd
#level 3 AI-writing tool
import gradio as gr
from gradio.mix import Parallel
myfirstvariable = "My Level 3 Text Generator"
mysecondvariable = "Input text, submit and the computer will produce text."
model1 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
model2 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
model3 = gr.Interface.load("huggingface/gpt2")
gr.Parallel(model1, model2, model3, title=myfirstvariable, description=mysecondvariable).launch()