Spaces:
Runtime error
Runtime error
HugoZeballos
commited on
Commit
•
7ec771d
1
Parent(s):
4fea684
Update translation.py
Browse files- translation.py +1 -1
translation.py
CHANGED
@@ -8,7 +8,7 @@ from sacremoses import MosesPunctNormalizer
|
|
8 |
from sentence_splitter import SentenceSplitter
|
9 |
from transformers import AutoModelForSeq2SeqLM, NllbTokenizer
|
10 |
|
11 |
-
MODEL_URL = "
|
12 |
LANGUAGES = {
|
13 |
"Rapa Nui": "rap_Latn",
|
14 |
"español": "spa_Latn",
|
|
|
8 |
from sentence_splitter import SentenceSplitter
|
9 |
from transformers import AutoModelForSeq2SeqLM, NllbTokenizer
|
10 |
|
11 |
+
MODEL_URL = "HugoZeballos/nllb-esp-rap"
|
12 |
LANGUAGES = {
|
13 |
"Rapa Nui": "rap_Latn",
|
14 |
"español": "spa_Latn",
|