| # ========================================= |
| # 1. 核心與資料處理 (Core & Data) |
| # ========================================= |
| python-dotenv |
| requests |
| numpy |
| pandas |
|
|
| # ========================================= |
| # 2. 使用者介面 (UI Framework) |
| # ========================================= |
| # 採用您指定的版本,確保組員的 emotion.py 樣式相容 |
| gradio==4.44.1 |
|
|
| # ========================================= |
| # 3. 網路爬蟲 (Web Scraping) |
| # ========================================= |
| playwright |
|
|
| # ========================================= |
| # 4. RAG 與 LLM 應用 (AI Logic) |
| # ========================================= |
| openai |
| huggingface_hub |
| langchain |
| langchain-community |
| langchain-huggingface |
| sentence-transformers |
| # 向量資料庫 (務必使用 CPU 版) |
| faiss-cpu |
|
|
| # ========================================= |
| # 5. 情緒辨識與影像處理 (Computer Vision) |
| # ========================================= |
| # emotion.py 依賴的核心庫 |
| deepface==0.0.92 |
| mtcnn==0.1.1 |
| pillow==10.4.0 |
| mediapipe |
|
|
| # 雲端環境必須使用 headless 版本,避免 GUI 錯誤 |
| opencv-python-headless==4.10.0.84 |
|
|
| # ========================================= |
| # 6. 深度學習底層 (Deep Learning Backend) |
| # ========================================= |
| tensorflow==2.15.1 |
| tf-keras==2.15.1 |
| keras==2.15.0 |