Răsfoiți Sursa

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

myhloli 2 luni în urmă
părinte
comite
be587e31fa
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      pyproject.toml

+ 2 - 2
pyproject.toml

@@ -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",