Spaces:
Runtime error
Runtime error
Harveenchadha
commited on
Commit
·
c829c5b
1
Parent(s):
75ed913
Update app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,16 @@
|
|
1 |
import os
|
2 |
-
|
3 |
os.system('wget -q https://storage.googleapis.com/vakyaansh-open-models/translation_models/en-indic.zip')
|
4 |
-
os.system('
|
5 |
-
os.
|
6 |
-
os.
|
|
|
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 |
-
|
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 |
|