fix: update dependencies in pyproject.toml to include openai package and adjust torch version constraint

This commit is contained in:
myhloli
2025-08-27 15:51:10 +08:00
parent 396cf8b81d
commit be587e31fa
+2 -2
View File
@@ -36,6 +36,7 @@ dependencies = [
"opencv-python>=4.11.0.86",
"fast-langdetect>=0.2.3,<0.3.0",
"scikit-image>=0.25.0,<1.0.0",
"openai>=1.70.0,<2",
]
[project.optional-dependencies]
@@ -49,7 +50,7 @@ test = [
]
vlm = [
"transformers>=4.51.1",
"torch>=2.6.0,<2.8.0",
"torch>=2.6.0",
"accelerate>=1.5.1",
"pydantic",
]
@@ -63,7 +64,6 @@ pipeline = [
"dill>=0.3.8,<1",
"PyYAML>=6.0.2,<7",
"ftfy>=6.3.1,<7",
"openai>=1.70.0,<2",
"shapely>=2.0.7,<3",
"pyclipper>=1.3.0,<2",
"omegaconf>=2.3.0,<3",