Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +12 -7
requirements.txt
CHANGED
|
@@ -1,4 +1,9 @@
|
|
| 1 |
-
# --- 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
mpmath==1.3.0
|
| 3 |
sympy==1.13.3
|
| 4 |
pyparsing==3.1.2
|
|
@@ -6,29 +11,29 @@ sse-starlette==2.1.3
|
|
| 6 |
uvicorn>=0.14.0
|
| 7 |
websockets>=10.4
|
| 8 |
|
| 9 |
-
# ---
|
| 10 |
soupsieve==2.6
|
| 11 |
beautifulsoup4==4.12.3
|
| 12 |
|
| 13 |
-
# ---
|
| 14 |
flatbuffers==24.3.25
|
| 15 |
authlib==1.3.2
|
| 16 |
tifffile==2024.12.12
|
| 17 |
scikit-image==0.25.0
|
| 18 |
|
| 19 |
-
# ---
|
| 20 |
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 21 |
torch
|
| 22 |
torchvision
|
| 23 |
av==12.3.0
|
| 24 |
|
| 25 |
-
# ---
|
| 26 |
onnxruntime>=1.18.0
|
| 27 |
magika>=0.5.1
|
| 28 |
magic-pdf[full]
|
| 29 |
mineru[all]
|
| 30 |
|
| 31 |
-
# ---
|
| 32 |
pillow
|
| 33 |
playwright
|
| 34 |
openai
|
|
@@ -37,7 +42,7 @@ colorlog>=6.9.0
|
|
| 37 |
fast-langdetect>=0.2.3
|
| 38 |
ffmpy>=0.5.0
|
| 39 |
|
| 40 |
-
# ---
|
| 41 |
google-api-python-client==2.150.0
|
| 42 |
google-auth-httplib2==0.2.0
|
| 43 |
httplib2==0.22.0
|
|
|
|
| 1 |
+
# --- 1. 命令行与 CLI 基础库 (解决本次报错) ---
|
| 2 |
+
shellingham==1.5.4
|
| 3 |
+
typer==0.12.5
|
| 4 |
+
click==8.1.7
|
| 5 |
+
|
| 6 |
+
# --- 2. 核心数学与基础工具 (持续锁定) ---
|
| 7 |
mpmath==1.3.0
|
| 8 |
sympy==1.13.3
|
| 9 |
pyparsing==3.1.2
|
|
|
|
| 11 |
uvicorn>=0.14.0
|
| 12 |
websockets>=10.4
|
| 13 |
|
| 14 |
+
# --- 3. 网页处理与解析锁定 ---
|
| 15 |
soupsieve==2.6
|
| 16 |
beautifulsoup4==4.12.3
|
| 17 |
|
| 18 |
+
# --- 4. 之前封堵的黑洞 ---
|
| 19 |
flatbuffers==24.3.25
|
| 20 |
authlib==1.3.2
|
| 21 |
tifffile==2024.12.12
|
| 22 |
scikit-image==0.25.0
|
| 23 |
|
| 24 |
+
# --- 5. PyTorch 环境 (CPU 优先) ---
|
| 25 |
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 26 |
torch
|
| 27 |
torchvision
|
| 28 |
av==12.3.0
|
| 29 |
|
| 30 |
+
# --- 6. MinerU 核心组件 ---
|
| 31 |
onnxruntime>=1.18.0
|
| 32 |
magika>=0.5.1
|
| 33 |
magic-pdf[full]
|
| 34 |
mineru[all]
|
| 35 |
|
| 36 |
+
# --- 7. 功能性依赖 ---
|
| 37 |
pillow
|
| 38 |
playwright
|
| 39 |
openai
|
|
|
|
| 42 |
fast-langdetect>=0.2.3
|
| 43 |
ffmpy>=0.5.0
|
| 44 |
|
| 45 |
+
# --- 8. 谷歌相关 ---
|
| 46 |
google-api-python-client==2.150.0
|
| 47 |
google-auth-httplib2==0.2.0
|
| 48 |
httplib2==0.22.0
|