Spaces:
Running on Zero
Running on Zero
Fix: --no-build-isolation for CUDA packages; numpy>=2 for opencv-python-headless
Browse files- app.py +1 -1
- 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
|