Spaces:
Running
on
T4
Running
on
T4
Update
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import os
|
2 |
import wget
|
3 |
-
|
4 |
-
|
5 |
|
6 |
-
|
7 |
-
|
8 |
|
9 |
# os.system('pip install gradio --upgrade')
|
10 |
|
|
|
1 |
import os
|
2 |
import wget
|
3 |
+
apex_file = wget.download(os.getenv('apex'))
|
4 |
+
os.system('tar zxvf {}'.format(apex_file))
|
5 |
|
6 |
+
os.system('ls -l; cd apex;'
|
7 |
+
'pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" .; cd ..')
|
8 |
|
9 |
# os.system('pip install gradio --upgrade')
|
10 |
|