PhilipL commited on
Commit
dd93b64
·
verified ·
1 Parent(s): c2c53b0

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +27 -9
requirements.txt CHANGED
@@ -1,12 +1,30 @@
1
- gradio
2
- openai
3
- huggingface_hub
4
  pandas
5
- langchain-huggingface
 
 
 
 
 
 
 
 
6
  langchain-community
 
7
  faiss-cpu
8
- python-dotenv
9
- deepface
10
- tf-keras
11
- pillow
12
- numpy
 
 
 
 
 
 
 
 
 
 
 
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
14
+ langchain-huggingface
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