Spaces:
Build error
Build error
""" | |
π£οΈ Translator - Translate text from one language to another. | |
MODELS list all available models. | |
Author: | |
- @ChainYo | |
""" | |
MODELS = { | |
"π¬π§ English->π¬π§ English": [0,], | |
"π¬π§ English->π«π· French": ["Helsinki-NLP/opus-mt-en-fr", "https://huggingface.co/Helsinki-NLP/opus-mt-en-fr"], | |
"π¬π§ English->π©πͺ German": ["Helsinki-NLP/opus-mt-en-de", "https://huggingface.co/Helsinki-NLP/opus-mt-en-de"], | |
"π¬π§ English->πͺπΈ Spanish": ["Helsinki-NLP/opus-mt-en-es", "https://huggingface.co/Helsinki-NLP/opus-mt-en-es"], | |
"π¬π§ English->π·πΊ Russian": ["Helsinki-NLP/opus-mt-en-ru", "https://huggingface.co/Helsinki-NLP/opus-mt-en-ru"], | |
"π«π· French->π«π· French": [0, None], | |
"π«π· French->π¬π§ English": ["Helsinki-NLP/opus-mt-fr-en", "https://huggingface.co/Helsinki-NLP/opus-mt-fr-en"], | |
"π«π· French->π©πͺ German": ["Helsinki-NLP/opus-mt-fr-de", "https://huggingface.co/Helsinki-NLP/opus-mt-fr-de"], | |
"π«π· French->πͺπΈ Spanish": ["Helsinki-NLP/opus-mt-fr-es", "https://huggingface.co/Helsinki-NLP/opus-mt-fr-es"], | |
"π«π· French->π·πΊ Russian": ["Helsinki-NLP/opus-mt-fr-ru", "https://huggingface.co/Helsinki-NLP/opus-mt-fr-ru"], | |
"πͺπΈ Spanish->πͺπΈ Spanish": [0, None], | |
"πͺπΈ Spanish->π¬π§ English": ["Helsinki-NLP/opus-mt-es-en", "https://huggingface.co/Helsinki-NLP/opus-mt-es-en"], | |
"πͺπΈ Spanish->π©πͺ German": ["Helsinki-NLP/opus-mt-es-de", "https://huggingface.co/Helsinki-NLP/opus-mt-es-de"], | |
"πͺπΈ Spanish->π«π· French": ["Helsinki-NLP/opus-mt-es-fr", "https://huggingface.co/Helsinki-NLP/opus-mt-es-fr"], | |
"πͺπΈ Spanish->π·πΊ Russian": ["Helsinki-NLP/opus-mt-es-ru", "https://huggingface.co/Helsinki-NLP/opus-mt-es-ru"], | |
"π©πͺ German->π©πͺ German": [0, None], | |
"π©πͺ German->π¬π§ English": ["Helsinki-NLP/opus-mt-de-en", "https://huggingface.co/Helsinki-NLP/opus-mt-de-en"], | |
"π©πͺ German->πͺπΈ Spanish": ["Helsinki-NLP/opus-mt-de-es", "https://huggingface.co/Helsinki-NLP/opus-mt-de-es"], | |
"π©πͺ German->π«π· French": ["Helsinki-NLP/opus-mt-de-fr", "https://huggingface.co/Helsinki-NLP/opus-mt-de-fr"], | |
"π©πͺ German->π·πΊ Russian": [None, None], | |
"π·πΊ Russian->π·πΊ Russian": [0, None], | |
"π·πΊ Russian->π¬π§ English": ["Helsinki-NLP/opus-mt-ru-en", "https://huggingface.co/Helsinki-NLP/opus-mt-ru-en"], | |
"π·πΊ Russian->πͺπΈ Spanish": ["Helsinki-NLP/opus-mt-ru-es", "https://huggingface.co/Helsinki-NLP/opus-mt-ru-es"], | |
"π·πΊ Russian->π«π· French": ["Helsinki-NLP/opus-mt-ru-fr", "https://huggingface.co/Helsinki-NLP/opus-mt-ru-fr"], | |
"π·πΊ Russian->π©πͺ German": [None, None], | |
} | |