Spaces:
Runtime error
Runtime error
Harveenchadha
commited on
Commit
·
4f8631f
1
Parent(s):
314dfc9
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,10 @@ import gradio as gr
|
|
3 |
|
4 |
os.system('wget -q https://storage.googleapis.com/vakyaansh-open-models/translation_models/en-indic.zip')
|
5 |
os.system('unzip /home/user/app/en-indic.zip')
|
6 |
-
|
|
|
|
|
|
|
7 |
|
8 |
from fairseq import checkpoint_utils, distributed_utils, options, tasks, utils
|
9 |
|
|
|
3 |
|
4 |
os.system('wget -q https://storage.googleapis.com/vakyaansh-open-models/translation_models/en-indic.zip')
|
5 |
os.system('unzip /home/user/app/en-indic.zip')
|
6 |
+
os.system('pip uninstall -y numpy')
|
7 |
+
os.system('pip install numpy==1.19.5')
|
8 |
+
os.system('pip uninstall -y numba')
|
9 |
+
os.system('pip install numba==0.53')
|
10 |
|
11 |
from fairseq import checkpoint_utils, distributed_utils, options, tasks, utils
|
12 |
|