File size: 493 Bytes
2c07f3b
4aedaa4
5bf74fb
4aedaa4
 
32ee615
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr
from gradio.mix import Series

title="Chinese Text Generator and Translator"
description="Input Chiknese language text,"

model1 = gr.Interface.load("huggingface/gpt2")
model2 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
model3 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")

gr.Interface.load("huggingface/bigscience/bloom-560m",title="Text Generator Five w/Variables",description="Input your text,submit and the maching will output text.").launch()