Translation / requirements.txt
chandan2706's picture
requirments
644859b verified
raw
history blame contribute delete
681 Bytes
#run this file
!pip install gradio
!pip install python-dotenv
!pip install ai4bharat-transliteration
!pip install mahaNLP
!pip install inference
!git clone https://github.com/AI4Bharat/IndicTrans2
!cd IndicTrans2
!source install.sh
!wget https://indictrans2-public.objectstore.e2enetworks.net/it2_distilled_ckpts/indic-en.zip
!mkdir indic-en
!unzip indic-en.zip -d ./indic-en
!git clone https://github.com/google/sentencepiece.git
!cd sentencepiece
!mkdir build
!cd build
!cmake ..
!make -j $(nproc)
!sudo make install
!sudo ldconfig -v
!wget https://indictrans2-public.objectstore.e2enetworks.net/it2_distilled_ckpts/en-indic.zip
!mkdir en-indic
!unzip en-indic.zip -d ./en-indic