YuAnTsai commited on
Commit
b1cb4b8
·
verified ·
1 Parent(s): 701b94f

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +19 -11
requirements.txt CHANGED
@@ -1,16 +1,13 @@
1
- # 核心依賴
2
- mediapipe==0.10.14
3
- opencv-python-headless==4.10.0.84
4
- deepface==0.0.92
5
- tensorflow==2.15.1
6
- tf-keras==2.15.1
7
- keras==2.15.0
8
-
9
- # 專案必要套件
10
- gradio==4.44.1
11
  numpy==1.26.4
12
  pandas
13
  requests
 
 
 
 
 
 
14
  openai
15
  langchain
16
  langchain-community
@@ -18,5 +15,16 @@ langchain-huggingface
18
  faiss-cpu
19
  sentence-transformers
20
  huggingface_hub
 
 
 
 
21
  pillow==10.4.0
22
- mtcnn==0.1.1
 
 
 
 
 
 
 
 
1
+ # --- Core & Data ---
 
 
 
 
 
 
 
 
 
2
  numpy==1.26.4
3
  pandas
4
  requests
5
+
6
+ # --- UI Framework ---
7
+ # 採用組員指定版本以確保樣式正確,同時符合主程式 >=4.0.0 的需求
8
+ gradio==4.44.1
9
+
10
+ # --- RAG & LLM (Main App) ---
11
  openai
12
  langchain
13
  langchain-community
 
15
  faiss-cpu
16
  sentence-transformers
17
  huggingface_hub
18
+
19
+ # --- Computer Vision & DeepFace (Teammate Logic) ---
20
+ deepface==0.0.92
21
+ mtcnn==0.1.1
22
  pillow==10.4.0
23
+
24
+ # 雲端環境必須使用 headless 版本,避免 GUI 錯誤
25
+ opencv-python-headless==4.10.0.84
26
+
27
+ # DeepFace 依賴項 (固定版本以確保相容性)
28
+ tensorflow==2.15.1
29
+ tf-keras==2.15.1
30
+ keras==2.15.0