File size: 440 Bytes
a72c0c7
5dddc52
a72c0c7
9e1a435
 
a44975b
5dddc52
 
 
 
f21e411
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr
from gradio.mix import Parallel

myfirstvariable="My First Text Generator"
mylovelysecondvariable="Input text and submit."

model1=gr.Interface.load("huggingface/gpt2")
model2=gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
model3=gr.Interface.load("huggingface/bigscience/bloom-560m")

gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B", title=myfirstvariable, description=mylovelysecondvariable).launch()