sss2000 commited on
Commit
044688a
1 Parent(s): e6eb440

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def audio2txt(audioname):
14
  # Function to translate text
15
  @st.cache
16
  def translation(txt):
17
- pipe = pipeline("translation", model=“Helsinki-NLP/opus-mt-en-zh)
18
  rst = pipe(txt)
19
  return rst
20
 
 
14
  # Function to translate text
15
  @st.cache
16
  def translation(txt):
17
+ pipe = pipeline("translation", model= "Helsinki-NLP/opus-mt-en-zh")
18
  rst = pipe(txt)
19
  return rst
20