mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-10-30 19:33:43 +08:00
fix: update dependencies in pyproject.toml to include openai package and adjust torch version constraint
This commit is contained in:
+2
-2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user