Harveenchadha commited on
Commit
c829c5b
1 Parent(s): 75ed913

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -1,15 +1,16 @@
1
  import os
2
- os.system('sudo easy_install')
3
  os.system('wget -q https://storage.googleapis.com/vakyaansh-open-models/translation_models/en-indic.zip')
4
- os.system('git clone https://github.com/pytorch/fairseq.git')
5
- os.chdir('fairseq')
6
- os.system('pip install --no-cache-dir --editable ./')
 
7
  cwd = os.getcwd()
8
  os.chdir("/".join(cwd.split('/')[:-1]))
9
 
10
  from fairseq import checkpoint_utils, distributed_utils, options, tasks, utils
11
  os.system('pwd')
12
- os.system('unzip /home/user/app/en-indic.zip')
13
  #os.chdir('indicTrans')
14
  os.system('ls')
15
 
 
1
  import os
2
+
3
  os.system('wget -q https://storage.googleapis.com/vakyaansh-open-models/translation_models/en-indic.zip')
4
+ os.system('unzip /home/user/app/en-indic.zip')
5
+ #os.system('git clone https://github.com/pytorch/fairseq.git')
6
+ #os.chdir('fairseq')
7
+ #os.system('pip install --no-cache-dir --editable ./')
8
  cwd = os.getcwd()
9
  os.chdir("/".join(cwd.split('/')[:-1]))
10
 
11
  from fairseq import checkpoint_utils, distributed_utils, options, tasks, utils
12
  os.system('pwd')
13
+
14
  #os.chdir('indicTrans')
15
  os.system('ls')
16