Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +8 -20
requirements.txt
CHANGED
|
@@ -1,24 +1,16 @@
|
|
| 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
|
| 24 |
langchain
|
|
@@ -27,20 +19,16 @@ langchain-huggingface
|
|
| 27 |
sentence-transformers
|
| 28 |
faiss-cpu
|
| 29 |
|
| 30 |
-
#
|
| 31 |
-
#
|
| 32 |
-
# =========================================
|
| 33 |
-
# 放寬版本讓系統自動匹配相容性
|
| 34 |
deepface
|
| 35 |
mtcnn
|
| 36 |
pillow
|
| 37 |
mediapipe
|
| 38 |
opencv-python-headless
|
| 39 |
|
| 40 |
-
#
|
| 41 |
-
#
|
| 42 |
-
# =========================================
|
| 43 |
-
# 移除嚴格版本鎖定,避免與 Python 版本衝突
|
| 44 |
tensorflow
|
| 45 |
tf-keras
|
| 46 |
keras
|
|
|
|
| 1 |
+
# 核心
|
|
|
|
|
|
|
| 2 |
python-dotenv
|
| 3 |
requests
|
| 4 |
numpy<2.0.0
|
| 5 |
pandas
|
| 6 |
|
| 7 |
+
# UI
|
|
|
|
|
|
|
| 8 |
gradio==4.44.1
|
| 9 |
|
| 10 |
+
# 爬蟲
|
|
|
|
|
|
|
| 11 |
playwright
|
| 12 |
|
| 13 |
+
# RAG & LLM
|
|
|
|
|
|
|
| 14 |
openai
|
| 15 |
huggingface_hub
|
| 16 |
langchain
|
|
|
|
| 19 |
sentence-transformers
|
| 20 |
faiss-cpu
|
| 21 |
|
| 22 |
+
# 視覺與辨識 (DeepFace 相關)
|
| 23 |
+
# 這裡不鎖版本,讓 pip 在 Python 3.10 環境下自動抓取最佳組合
|
|
|
|
|
|
|
| 24 |
deepface
|
| 25 |
mtcnn
|
| 26 |
pillow
|
| 27 |
mediapipe
|
| 28 |
opencv-python-headless
|
| 29 |
|
| 30 |
+
# 深度學習
|
| 31 |
+
# 在 Python 3.10 下,這些會自動安裝到相容的穩定版 (如 TF 2.15/2.16)
|
|
|
|
|
|
|
| 32 |
tensorflow
|
| 33 |
tf-keras
|
| 34 |
keras
|