sss2000 commited on
Commit
e9c6889
1 Parent(s): fdcc446

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def audio2txt(audioname):
21
  return rst
22
 
23
  def translation(txt):
24
- pipe = pipeline(model="translation", model="DDDSSS/translation_en-zh")
25
  rst = pipe(txt)
26
  return rst
27
 
 
21
  return rst
22
 
23
  def translation(txt):
24
+ pipe = pipeline("translation", model="DDDSSS/translation_en-zh")
25
  rst = pipe(txt)
26
  return rst
27