taesiri commited on
Commit
5062395
·
verified ·
1 Parent(s): aa29cc9

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +3 -0
model.py CHANGED
@@ -8,6 +8,9 @@ import sys
8
  import json
9
 
10
  if os.getenv("SYSTEM") == "spaces":
 
 
 
11
  import mim
12
 
13
  mim.uninstall("mmcv-full", confirm_yes=True)
 
8
  import json
9
 
10
  if os.getenv("SYSTEM") == "spaces":
11
+ subprocess.run(shlex.split("pip install --upgrade mim"), check=True)
12
+ subprocess.run(shlex.split("pip install click==8.0.4"), check=True)
13
+
14
  import mim
15
 
16
  mim.uninstall("mmcv-full", confirm_yes=True)