This repository contains code for a multilingual language translator using Hugging Face's transformer models. The translator can detect the language of the input text and translate it to one of the specified 10 languages.
● Open the code with google colab.
● Install the required dependencies such as gradio, torch, sentencepiece, sacremoses using pip.
● Then run the code, it will take few minutes to load all the transformer models.
● After running, the gradio user interface will appear. In that, you can give the input sentence and specify which language need to be changed.
● It will detect and give what the language you have given and the translated text.