Daankular commited on
Commit
2bab2fb
·
1 Parent(s): 269d5be

Fix: --no-build-isolation for CUDA packages; numpy>=2 for opencv-python-headless

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def _install_runtime_packages():
64
  + _NO_DEPS_PACKAGES, check=True,
65
  )
66
  subprocess.run(
67
- [sys.executable, "-m", "pip", "install", "--quiet"]
68
  + _CUDA_PACKAGES, check=True,
69
  )
70
  _RUNTIME_PKG_MARKER.touch()
 
64
  + _NO_DEPS_PACKAGES, check=True,
65
  )
66
  subprocess.run(
67
+ [sys.executable, "-m", "pip", "install", "--quiet", "--no-build-isolation"]
68
  + _CUDA_PACKAGES, check=True,
69
  )
70
  _RUNTIME_PKG_MARKER.touch()
requirements.txt CHANGED
@@ -61,7 +61,7 @@ scikit-image
61
  albumentations
62
 
63
  # Scientific
64
- numpy
65
  scipy
66
  scikit-learn
67
  pandas
 
61
  albumentations
62
 
63
  # Scientific
64
+ numpy>=2
65
  scipy
66
  scikit-learn
67
  pandas