Wootang01 commited on
Commit
0cf1ba2
1 Parent(s): b19b19a

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from gradio.mix import Series
3
+
4
+ translator = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-zh-en")
5
+ translator1 = gr.Interface.load("huggingface/liam168/trans-opus-mt-en-zh")
6
+
7
+ gr.Series(translator1, translator).launch(debug=True)