Skip to content

Commit 8461a28

Browse files
committed
chore: update dependencies in document-extractor and frontend
- Added torch and torchvision dependencies to document-extractor with specific versions for CPU. - Updated .gitignore in frontend to include npm cache directory and ensured proper formatting.
1 parent 05d7ec8 commit 8461a28

File tree

6 files changed

+175
-171
lines changed

6 files changed

+175
-171
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
**/.nx/*
22
*.tgz
3+
**/_poetry
34
*/Chart.lock
45
helm-chart/charts/admin-backend-0.0.1.tgz
56
helm-chart/charts/adminfrontend-0.0.1.tgz

libs/extractor-api-lib/poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/extractor-api-lib/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ pypandoc-binary = "^1.15"
116116
starlette = ">=0.49.1"
117117
markitdown = {version = "^0.1.3", extras = ["all"]}
118118
docling = "2.61.2"
119-
torch = { version = "2.9.0+cpu", source = "pytorch_cpu" }
120-
torchvision = { version = "0.24.0+cpu", source = "pytorch_cpu" }
119+
torch = { version = "^2.9.0+cpu", source = "pytorch_cpu" }
120+
torchvision = { version = "0.24.1+cpu", source = "pytorch_cpu" }
121121
transformers = ">=4.53.3,<5.0.0"
122122
pypandoc = ">=1.6.2"
123123
pypandoc_binary = ">=1.6.2"

0 commit comments

Comments
 (0)