test1444 commited on
Commit
186d3ae
·
1 Parent(s): ceea3e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import subprocess
4
  try:
5
  from mmcv.ops import get_compiling_cuda_version, get_compiler_version
6
  except:
7
- subprocess.check_call([sys.executable, 'mim', 'install',
8
- 'mmcv-full==1.5.0'])
9
  from mmcv.ops import get_compiling_cuda_version, get_compiler_version
10
 
11
  import mmpose
 
4
  try:
5
  from mmcv.ops import get_compiling_cuda_version, get_compiler_version
6
  except:
7
+ import mim
8
+ mim.install('mmcv==1.5.0
9
  from mmcv.ops import get_compiling_cuda_version, get_compiler_version
10
 
11
  import mmpose