Spaces:
Runtime error
Runtime error
datnth1709
commited on
Commit
•
f4a01a0
1
Parent(s):
2fcacda
update machine translation model
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def speech2text(audio):
|
|
75 |
|
76 |
|
77 |
"""Machine translation"""
|
78 |
-
model_checkpoint = "
|
79 |
translator = pipeline("translation", model=model_checkpoint)
|
80 |
|
81 |
def translate_vi2en(Vietnamese):
|
|
|
75 |
|
76 |
|
77 |
"""Machine translation"""
|
78 |
+
model_checkpoint = "datnth1709/finetuned_HelsinkiNLP-opus-mt-vi-en_PhoMT"
|
79 |
translator = pipeline("translation", model=model_checkpoint)
|
80 |
|
81 |
def translate_vi2en(Vietnamese):
|