Spaces:
Build error
Build error
Update requirements.txt
Browse files- requirements.txt +15 -3
requirements.txt
CHANGED
@@ -1,3 +1,15 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# requirements.txt (Modified for Python 3.12 compatibility - May 2025)
|
2 |
+
|
3 |
+
tensorflow>=2.16.1 # Using a recent stable version of TensorFlow
|
4 |
+
# keras==2.4.3 # Commented out: Use tf.keras from TensorFlow 2.x instead
|
5 |
+
imutils==0.5.4 # This version seems to be the latest for imutils
|
6 |
+
numpy>=1.26.0 # Needed for modern TensorFlow and Python 3.12
|
7 |
+
opencv-python>=4.9.0
|
8 |
+
matplotlib>=3.8.2
|
9 |
+
# argparse==1.4.0 # Removed: argparse is part of the Python standard library
|
10 |
+
scipy>=1.13.0 # Older versions will fail to build on Python 3.12
|
11 |
+
scikit-learn>=1.4.0 # Older versions will fail to build on Python 3.12
|
12 |
+
pillow>=10.0.0
|
13 |
+
streamlit>=1.34.0 # Streamlit 0.79.0 is very old
|
14 |
+
onnx>=1.16.0 # For Python 3.12 compatibility
|
15 |
+
tf2onnx==1.16.1 # To be compatible with newer TensorFlow and ONNX
|