Update requirements.txt to clarify optional machine learning dependencies
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -58,7 +58,7 @@ wordcloud==1.9.3 | @@ -58,7 +58,7 @@ wordcloud==1.9.3 | ||
| 58 | # ===== PDF生成 ===== | 58 | # ===== PDF生成 ===== |
| 59 | weasyprint>=60.0 # PDF导出,支持Python 3.9-3.13 | 59 | weasyprint>=60.0 # PDF导出,支持Python 3.9-3.13 |
| 60 | 60 | ||
| 61 | -# ===== 机器学习(可选,用于情感分析,不安装也没事写了容错程序) ===== | 61 | +# ===== 机器学习 ===== |
| 62 | torch>=2.0.0 # CPU版本 | 62 | torch>=2.0.0 # CPU版本 |
| 63 | transformers>=4.30.0 | 63 | transformers>=4.30.0 |
| 64 | sentence-transformers>=2.2.2 | 64 | sentence-transformers>=2.2.2 |
-
Please register or login to post a comment