Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +10 -6
requirements.txt
CHANGED
@@ -1,12 +1,16 @@
|
|
1 |
-
# requirements.txt
|
2 |
|
|
|
|
|
|
|
|
|
|
|
3 |
langchain
|
4 |
-
gradio
|
|
|
|
|
5 |
sentence_transformers
|
6 |
faiss-cpu
|
7 |
unstructured
|
8 |
llama-cpp-python
|
9 |
-
huggingface_hub
|
10 |
-
|
11 |
-
# 解决依赖冲突
|
12 |
-
aiofiles>=24.1.0
|
|
|
1 |
+
# requirements.txt (已解决依赖冲突的最终版)
|
2 |
|
3 |
+
# 强制锁定版本以解决冲突,放在最前面
|
4 |
+
aiofiles==24.1.0
|
5 |
+
gradio==4.31.0
|
6 |
+
|
7 |
+
# 核心框架
|
8 |
langchain
|
9 |
+
# gradio 在上面已经指定
|
10 |
+
|
11 |
+
# 模型与向量化
|
12 |
sentence_transformers
|
13 |
faiss-cpu
|
14 |
unstructured
|
15 |
llama-cpp-python
|
16 |
+
huggingface_hub
|
|
|
|
|
|