snym04 commited on
Commit
d7d5eed
·
verified ·
1 Parent(s): e6a7b3c

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +10 -8
requirements.txt CHANGED
@@ -1,32 +1,34 @@
1
- # --- 1. 核心数学与基础 (防止 torch 和 sympy 冲突) ---
2
  mpmath==1.3.0
3
  sympy==1.13.3
4
  pyparsing==3.1.2
5
- # 针对 gradio 触发的 sse-starlette 回溯
6
  sse-starlette==2.1.3
7
  uvicorn>=0.14.0
8
  websockets>=10.4
9
 
10
- # --- 2. 之前已封堵的黑洞 (继续保持锁定) ---
 
 
 
 
11
  flatbuffers==24.3.25
12
  authlib==1.3.2
13
  tifffile==2024.12.12
14
  scikit-image==0.25.0
15
 
16
- # --- 3. PyTorch 环境 (CPU 优先) ---
17
  --extra-index-url https://download.pytorch.org/whl/cpu
18
  torch
19
  torchvision
20
  av==12.3.0
21
 
22
- # --- 4. MinerU 核心组件 ---
23
  onnxruntime>=1.18.0
24
  magika>=0.5.1
25
  magic-pdf[full]
26
  mineru[all]
27
 
28
- # --- 5. 功能性依赖 ---
29
- beautifulsoup4
30
  pillow
31
  playwright
32
  openai
@@ -35,7 +37,7 @@ colorlog>=6.9.0
35
  fast-langdetect>=0.2.3
36
  ffmpy>=0.5.0
37
 
38
- # --- 6. 谷歌相关 ---
39
  google-api-python-client==2.150.0
40
  google-auth-httplib2==0.2.0
41
  httplib2==0.22.0
 
1
+ # --- 1. 核心数学与基础工具 (强制锁定防止回溯) ---
2
  mpmath==1.3.0
3
  sympy==1.13.3
4
  pyparsing==3.1.2
 
5
  sse-starlette==2.1.3
6
  uvicorn>=0.14.0
7
  websockets>=10.4
8
 
9
+ # --- 2. 网页处理与解析锁定 (本次新增) ---
10
+ soupsieve==2.6
11
+ beautifulsoup4==4.12.3
12
+
13
+ # --- 3. 之前封堵的黑洞 (保持锁定) ---
14
  flatbuffers==24.3.25
15
  authlib==1.3.2
16
  tifffile==2024.12.12
17
  scikit-image==0.25.0
18
 
19
+ # --- 4. PyTorch 环境 (CPU 优先) ---
20
  --extra-index-url https://download.pytorch.org/whl/cpu
21
  torch
22
  torchvision
23
  av==12.3.0
24
 
25
+ # --- 5. MinerU 核心组件 ---
26
  onnxruntime>=1.18.0
27
  magika>=0.5.1
28
  magic-pdf[full]
29
  mineru[all]
30
 
31
+ # --- 6. 功能性依赖 ---
 
32
  pillow
33
  playwright
34
  openai
 
37
  fast-langdetect>=0.2.3
38
  ffmpy>=0.5.0
39
 
40
+ # --- 7. 谷歌相关 ---
41
  google-api-python-client==2.150.0
42
  google-auth-httplib2==0.2.0
43
  httplib2==0.22.0