Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +2 -19
requirements.txt
CHANGED
|
@@ -1,20 +1,3 @@
|
|
| 1 |
-
|
| 2 |
rembg[cpu]
|
| 3 |
-
|
| 4 |
-
# ONNX runtime for CPU inference (do NOT install onnxruntime-gpu on CPU Spaces)
|
| 5 |
-
onnxruntime
|
| 6 |
-
|
| 7 |
-
# Image processing
|
| 8 |
-
Pillow>=10.0.0
|
| 9 |
-
|
| 10 |
-
# Gradio UI – pin to a stable version known to work on HF Spaces
|
| 11 |
-
gradio>=4.44.0
|
| 12 |
-
|
| 13 |
-
# Numpy (rembg depends on it; pin to a version compatible with onnxruntime)
|
| 14 |
-
numpy>=1.24.0,<2.0.0
|
| 15 |
-
|
| 16 |
-
# scikit-image (needed by rembg for alpha matting)
|
| 17 |
-
scikit-image>=0.21.0
|
| 18 |
-
|
| 19 |
-
# Requests (used internally by rembg to download model weights on first run)
|
| 20 |
-
requests>=2.31.0
|
|
|
|
| 1 |
+
gradio
|
| 2 |
rembg[cpu]
|
| 3 |
+
Pillow
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|