Spaces:
Runtime error
Runtime error
Create app.py
Browse files
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)
|