fiewolf1000 commited on
Commit
d8156e7
·
verified ·
1 Parent(s): ae7a9bf

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +2 -3
requirements.txt CHANGED
@@ -1,9 +1,8 @@
1
- # PyTorch CPU 官方索引源(必须保留,解决 CPU 版本下载问题)
2
  --extra-index-url https://download.pytorch.org/whl/cpu
3
- # 核心依赖(均为稳定兼容版本)
4
  fastapi==0.101.0
5
  uvicorn==0.23.2
6
  transformers==4.35.2
7
  torch==2.0.1
8
  numpy==1.26.4
9
- pydantic==2.0.2
 
 
 
1
  --extra-index-url https://download.pytorch.org/whl/cpu
 
2
  fastapi==0.101.0
3
  uvicorn==0.23.2
4
  transformers==4.35.2
5
  torch==2.0.1
6
  numpy==1.26.4
7
+ pydantic==2.0.2
8
+ huggingface-hub==0.22.2 # 新增,确保缓存功能正常