feaae commited on
Commit
541ca5d
1 Parent(s): 8ac442b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
 
3
  from transformers import pipeline
4
 
5
- pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-en-zh")
6
 
7
 
8
  def translate(text):
 
2
 
3
  from transformers import pipeline
4
 
5
+ pipe = pipeline("translation", model='facebook/m2m100_418M')
6
 
7
 
8
  def translate(text):