qihfang commited on
Commit
61455bf
·
1 Parent(s): 4012fb1

Install VitPose from Wheel

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ def ensure_mmpose_installed(local_path='/data/wheelhouse/mmpose-0.24.0-py2.py3-n
24
 
25
  # If we reach here, we need to install or reinstall
26
  # Check that the directory exists
27
- if not os.path.isdir(local_path):
28
- raise FileNotFoundError(f"Specified install directory does not exist: {local_path}")
29
 
30
  # Construct pip install command using the current Python executable
31
  cmd = [sys.executable, "-m", "pip", "install", local_path]
 
24
 
25
  # If we reach here, we need to install or reinstall
26
  # Check that the directory exists
27
+ #if not os.path.isdir(local_path):
28
+ # raise FileNotFoundError(f"Specified install directory does not exist: {local_path}")
29
 
30
  # Construct pip install command using the current Python executable
31
  cmd = [sys.executable, "-m", "pip", "install", local_path]