Spaces:
Sleeping
Sleeping
Delete requirements.txt
Browse files- requirements.txt +0 -32
requirements.txt
DELETED
|
@@ -1,32 +0,0 @@
|
|
| 1 |
-
# Reference only β dependencies are installed directly in the Dockerfile
|
| 2 |
-
# as three separate pip layers for granular Docker layer caching.
|
| 3 |
-
#
|
| 4 |
-
# ββ Layer 1: small packages βββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 5 |
-
# fastapi>=0.115.0
|
| 6 |
-
# uvicorn[standard]>=0.32.0
|
| 7 |
-
# python-multipart>=0.0.12
|
| 8 |
-
# Pillow>=10.0.0
|
| 9 |
-
# pillow-heif>=0.18.0
|
| 10 |
-
# huggingface_hub>=0.25.0
|
| 11 |
-
# opencv-python-headless>=4.8.0 β headless; must be Layer 1 before magic-pdf
|
| 12 |
-
#
|
| 13 |
-
# ββ Layer 2: torch CPU (from https://download.pytorch.org/whl/cpu) ββββββββββββ
|
| 14 |
-
# torch>=2.0.0 β CPU-only wheel (not on PyPI as CPU)
|
| 15 |
-
# torchvision>=0.15.0 β CPU-only wheel
|
| 16 |
-
#
|
| 17 |
-
# ββ Layer 3: magic-pdf + ALL explicit OCR runtime deps βββββββββββββββββββββββ
|
| 18 |
-
# (--extra-index-url https://myhloli.github.io/wheels/ for paddlepaddle CPU)
|
| 19 |
-
# magic-pdf[full-cpu]==1.3.12
|
| 20 |
-
# doclayout-yolo>=0.0.2 β layout detection (uses ultralytics)
|
| 21 |
-
# ultralytics>=8.0.0 β YOLO inference engine
|
| 22 |
-
# onnxruntime>=1.17.0 β ONNX for MFD + table models
|
| 23 |
-
# paddleocr>=2.7.0 β OCR text extraction engine
|
| 24 |
-
# rapid-table>=0.2.0 β table structure reconstruction
|
| 25 |
-
# shapely>=2.0.0 β geometry ops (paddleocr dep)
|
| 26 |
-
# pyclipper>=1.3.0 β polygon clipping (paddleocr dep)
|
| 27 |
-
# scipy>=1.11.0 β scientific computing (layout/OCR dep)
|
| 28 |
-
#
|
| 29 |
-
# ββ Why explicit listing matters ββββββββββββββββββββββββββββββββββββββββββββββ
|
| 30 |
-
# Without explicit listing, pip's resolver can skip transitive deps when
|
| 31 |
-
# it cannot satisfy their sub-deps (e.g. torch on PyPI has no CPU wheel,
|
| 32 |
-
# so pip silently skips ultralytics β doclayout_yolo β layout fails at runtime).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|