Spaces:
Runtime error
Runtime error
piperod
commited on
Commit
•
b73d81d
1
Parent(s):
f7db529
testing
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ import subprocess
|
|
5 |
if os.getenv('SYSTEM') == 'spaces':
|
6 |
|
7 |
|
8 |
-
subprocess.call('pip install -U openmim')
|
9 |
-
subprocess.call('torch==1.11.0 torchvision==0.12.0')
|
10 |
|
11 |
import mim
|
12 |
mim.install('mmcv>=2.0.0', confirm_yes=True)
|
|
|
5 |
if os.getenv('SYSTEM') == 'spaces':
|
6 |
|
7 |
|
8 |
+
subprocess.call('pip install -U openmim'.split())
|
9 |
+
subprocess.call('torch==1.11.0 torchvision==0.12.0'.split())
|
10 |
|
11 |
import mim
|
12 |
mim.install('mmcv>=2.0.0', confirm_yes=True)
|