PhilipL commited on
Commit
73020c8
·
verified ·
1 Parent(s): 522badc

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +16 -19
requirements.txt CHANGED
@@ -1,24 +1,23 @@
1
  # =========================================
2
- # 1. 核心與資料處理 (Core & Data)
3
  # =========================================
4
  python-dotenv
5
  requests
6
- numpy
7
  pandas
8
 
9
  # =========================================
10
- # 2. 使用者介面 (UI Framework)
11
  # =========================================
12
- # 採用您指定的版本,確保組員的 emotion.py 樣式相容
13
  gradio==4.44.1
14
 
15
  # =========================================
16
- # 3. 網路爬蟲 (Web Scraping)
17
  # =========================================
18
  playwright
19
 
20
  # =========================================
21
- # 4. RAG 與 LLM 應用 (AI Logic)
22
  # =========================================
23
  openai
24
  huggingface_hub
@@ -26,24 +25,22 @@ langchain
26
  langchain-community
27
  langchain-huggingface
28
  sentence-transformers
29
- # 向量資料庫 (務必使用 CPU 版)
30
  faiss-cpu
31
 
32
  # =========================================
33
- # 5. 情緒辨識與影像處理 (Computer Vision)
34
  # =========================================
35
- # emotion.py 依賴的核心庫
36
- deepface==0.0.92
37
- mtcnn==0.1.1
38
- pillow==10.4.0
39
  mediapipe
40
-
41
- # 雲端環境必須使用 headless 版本,避免 GUI 錯誤
42
- opencv-python-headless==4.10.0.84
43
 
44
  # =========================================
45
- # 6. 深度學習底層 (Deep Learning Backend)
46
  # =========================================
47
- tensorflow==2.15.1
48
- tf-keras==2.15.1
49
- keras==2.15.0
 
 
1
  # =========================================
2
+ # 1. 核心與資料處理
3
  # =========================================
4
  python-dotenv
5
  requests
6
+ numpy<2.0.0
7
  pandas
8
 
9
  # =========================================
10
+ # 2. 使用者介面
11
  # =========================================
 
12
  gradio==4.44.1
13
 
14
  # =========================================
15
+ # 3. 網路爬蟲
16
  # =========================================
17
  playwright
18
 
19
  # =========================================
20
+ # 4. RAG 與 LLM 應用
21
  # =========================================
22
  openai
23
  huggingface_hub
 
25
  langchain-community
26
  langchain-huggingface
27
  sentence-transformers
 
28
  faiss-cpu
29
 
30
  # =========================================
31
+ # 5. 情緒辨識與影像處理
32
  # =========================================
33
+ # 放寬版本讓系統自動匹配相容性
34
+ deepface
35
+ mtcnn
36
+ pillow
37
  mediapipe
38
+ opencv-python-headless
 
 
39
 
40
  # =========================================
41
+ # 6. 深度學習底層
42
  # =========================================
43
+ # 移除嚴格版本鎖定,避免與 Python 版本衝突
44
+ tensorflow
45
+ tf-keras
46
+ keras