Spaces:
Sleeping
Sleeping
Install VitPose from Wheel
Browse files
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 |
-
|
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]
|