Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +18 -4
requirements.txt
CHANGED
|
@@ -1,7 +1,21 @@
|
|
| 1 |
-
|
| 2 |
-
onnxruntime==1.15.1
|
| 3 |
-
Pillow==10.0.0
|
| 4 |
-
numpy==1.24.4
|
| 5 |
torch==2.2.2+cpu
|
| 6 |
torchvision==0.17.2+cpu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
-f https://download.pytorch.org/whl/torch_stable.html
|
|
|
|
| 1 |
+
# --- Deep Learning Core ---
|
|
|
|
|
|
|
|
|
|
| 2 |
torch==2.2.2+cpu
|
| 3 |
torchvision==0.17.2+cpu
|
| 4 |
+
onnx==1.15.0
|
| 5 |
+
onnxruntime==1.17.3
|
| 6 |
+
|
| 7 |
+
# --- NumPy & image handling ---
|
| 8 |
+
numpy==1.24.4
|
| 9 |
+
Pillow==10.2.0
|
| 10 |
+
|
| 11 |
+
# --- Protobuf (fixes ONNX serialization issues) ---
|
| 12 |
+
protobuf==3.20.3
|
| 13 |
+
|
| 14 |
+
# --- Gradio / Interface ---
|
| 15 |
+
gradio==4.44.0
|
| 16 |
+
|
| 17 |
+
# --- Optional (recommandé pour compatibilité PyTorch / ONNX) ---
|
| 18 |
+
typing-extensions>=4.9.0
|
| 19 |
+
|
| 20 |
+
# --- Source for CPU wheels ---
|
| 21 |
-f https://download.pytorch.org/whl/torch_stable.html
|