VideoBackgroundReplacer2/requirements.txt
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
-
#
|
| 2 |
-
|
|
|
|
| 3 |
numpy>=1.24.0,<2.0.0
|
| 4 |
Pillow>=10.0.0,<11.0.0
|
| 5 |
protobuf>=4.25.0,<5.0.0
|
|
@@ -39,10 +40,10 @@ httpx>=0.25.0,<1.0.0
|
|
| 39 |
anyio>=4.0.0,<5.0.0
|
| 40 |
orjson>=3.10.0,<4.0.0
|
| 41 |
|
| 42 |
-
# Pydantic
|
| 43 |
-
pydantic>=2.
|
| 44 |
-
pydantic-core>=2.
|
| 45 |
-
annotated-types>=0.
|
| 46 |
typing-extensions>=4.0.0,<5.0.0
|
| 47 |
|
| 48 |
# Helpers and Utilities
|
|
@@ -52,4 +53,7 @@ psutil>=5.8.0,<7.0.0
|
|
| 52 |
requests>=2.25.0,<3.0.0
|
| 53 |
scikit-learn>=1.3.0,<2.0.0
|
| 54 |
loguru>=0.6.0,<1.0.0
|
| 55 |
-
python-multipart>=0.0.5,<1.0.0
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Update requirements.txt with correct versions
|
| 2 |
+
cat > requirements.txt << 'EOL'
|
| 3 |
+
# Core Dependencies
|
| 4 |
numpy>=1.24.0,<2.0.0
|
| 5 |
Pillow>=10.0.0,<11.0.0
|
| 6 |
protobuf>=4.25.0,<5.0.0
|
|
|
|
| 40 |
anyio>=4.0.0,<5.0.0
|
| 41 |
orjson>=3.10.0,<4.0.0
|
| 42 |
|
| 43 |
+
# Pydantic (with fixed versions for Python 3.10)
|
| 44 |
+
pydantic>=2.6.0,<2.9.0
|
| 45 |
+
pydantic-core>=2.20.0,<2.22.0
|
| 46 |
+
annotated-types>=0.6.0,<0.8.0
|
| 47 |
typing-extensions>=4.0.0,<5.0.0
|
| 48 |
|
| 49 |
# Helpers and Utilities
|
|
|
|
| 53 |
requests>=2.25.0,<3.0.0
|
| 54 |
scikit-learn>=1.3.0,<2.0.0
|
| 55 |
loguru>=0.6.0,<1.0.0
|
| 56 |
+
python-multipart>=0.0.5,<1.0.0
|
| 57 |
+
EOL
|
| 58 |
+
|
| 59 |
+
echo "requirements.txt has been updated with fixed dependency versions."
|