Wootang01's picture
Create app.py
87c7b93
raw
history blame
242 Bytes
import gradio as gr
from gradio.mix import Series
translator = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-zh-en")
model4 = gr.Interface.load("huggingface/ckiplab/gpt2-base-chinese")
gr.Series(model4, translator).launch(debug=True)