KIRA111B commited on
Commit
af391c4
·
verified ·
1 Parent(s): e7a1af6

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +28 -14
requirements.txt CHANGED
@@ -1,16 +1,30 @@
1
- # requirements.txt (已解决依赖冲突的最终版)
2
 
3
- # 强制锁定版本以解决冲突,放在最前面
4
- gradio==4.32.0
5
- gradio-client==0.17.0
6
- aiofiles==23.2.1
7
- # 核心框架
8
- langchain
9
- # gradio 在上面已经指定
10
 
11
- # 模型与向量化
12
- sentence_transformers
13
- faiss-cpu
14
- unstructured
15
- llama-cpp-python
16
- huggingface_hub
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # requirements.txt (集合。我们要扔掉所有不必要的“行李”,让应用轻装上阵。
2
 
3
+ #### **第一步:为解决Build Timeout优化的最终稳定版)
 
 
 
 
 
 
4
 
5
+ # --- 核心框架,锁定稳定版本 ---
6
+ langchain==0创建终极精简版的`requirements.txt`**
7
+
8
+ 这是我们经过多次尝试后,总结出的最可能.1.16
9
+ gradio==4.29.0
10
+ llama-cpp-python==0.2.成功的、最轻量化的版本。请用以下内容**完全替换**你现在的`requirements.txt`。64
11
+ sentence-transformers==2.6.1
12
+ faiss-cpu==1.8.0
13
+ huggingface_hub==0.22.2
14
+ langchain-community==0.0.32
15
+
16
+ # --- 文档解析,使用更轻量的版本 ---
17
+ unstructured==0.13.0
18
+
19
+ # --- 解决
20
+
21
+ ```text
22
+ # requirements.txt (终极精简防超时版)
23
+
24
+ # 核心框架,锁定已知稳定版本
25
+ gradio==4.29.0
26
+ langchain==0.1.16
27
+ llama-cpp-python==0.2.64
28
+ sentence-transformers==2.6.1
29
+ faiss-cpu==gradio的底层依赖问题 ---
30
+ aiofiles==23.2.1