chandan2706 commited on
Commit
644859b
·
verified ·
1 Parent(s): 730386a

requirments

Browse files
Files changed (1) hide show
  1. requirements.txt +23 -0
requirements.txt ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #run this file
2
+ !pip install gradio
3
+ !pip install python-dotenv
4
+ !pip install ai4bharat-transliteration
5
+ !pip install mahaNLP
6
+ !pip install inference
7
+ !git clone https://github.com/AI4Bharat/IndicTrans2
8
+ !cd IndicTrans2
9
+ !source install.sh
10
+ !wget https://indictrans2-public.objectstore.e2enetworks.net/it2_distilled_ckpts/indic-en.zip
11
+ !mkdir indic-en
12
+ !unzip indic-en.zip -d ./indic-en
13
+ !git clone https://github.com/google/sentencepiece.git
14
+ !cd sentencepiece
15
+ !mkdir build
16
+ !cd build
17
+ !cmake ..
18
+ !make -j $(nproc)
19
+ !sudo make install
20
+ !sudo ldconfig -v
21
+ !wget https://indictrans2-public.objectstore.e2enetworks.net/it2_distilled_ckpts/en-indic.zip
22
+ !mkdir en-indic
23
+ !unzip en-indic.zip -d ./en-indic