YuAnTsai commited on
Commit
5b677b2
·
verified ·
1 Parent(s): 8f9405e

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +5 -8
requirements.txt CHANGED
@@ -4,7 +4,6 @@ pandas
4
  requests
5
 
6
  # --- UI Framework ---
7
- # 採用組員指定版本以確保樣式正確,同時符合主程式 >=4.0.0 的需求
8
  gradio==4.44.1
9
 
10
  # --- RAG & LLM (Main App) ---
@@ -16,18 +15,16 @@ 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
31
- mediapipe
32
- opencv-python-headless # 在雲端環境建議使用 headless 版本以避免 GUI 報錯
33
- numpy
 
4
  requests
5
 
6
  # --- UI Framework ---
 
7
  gradio==4.44.1
8
 
9
  # --- RAG & LLM (Main App) ---
 
15
  sentence-transformers
16
  huggingface_hub
17
 
18
+ # --- Computer Vision & DeepFace ---
19
  deepface==0.0.92
20
  mtcnn==0.1.1
21
  pillow==10.4.0
22
 
23
+ # 核心修正:MediaPipe 必須指定版本且放在前面,並使用 headless opencv
24
+ mediapipe>=0.10.0
25
  opencv-python-headless==4.10.0.84
26
 
27
+ # DeepFace 依賴項 (固定版本以確保與 TensorFlow 2.15 相容)
28
  tensorflow==2.15.1
29
  tf-keras==2.15.1
30
+ keras==2.15.0