HtSimple commited on
Commit
b6d9f07
·
verified ·
1 Parent(s): 663d6c6

Upload requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +8 -12
requirements.txt CHANGED
@@ -1,17 +1,13 @@
1
- # Gradio 界面库(确保版本存在且兼容)
2
  gradio==3.50.2
3
 
4
- # PyTorch 深度学习框架(CPU 版本,使用官方预编译包)
5
- torch @ https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp310-cp310-linux_x86_64.whl
6
- torchvision @ https://download.pytorch.org/whl/cpu/torchvision-0.16.0%2Bcpu-cp310-cp310-linux_x86_64.whl
7
- torchaudio @ https://download.pytorch.org/whl/cpu/torchaudio-0.16.0%2Bcpu-cp310-cp310-linux_x86_64.whl
8
 
9
- # Hugging Face Transformers 库(加载 CLIP 模型)
10
  transformers==4.35.2
11
-
12
- # 图像处理与数值计算库
13
  Pillow==10.0.1
14
- numpy==1.26.0
15
-
16
- # Upstash 向量数据库 SDK
17
- upstash-vector==0.1.4
 
1
+ # Gradio 界面库
2
  gradio==3.50.2
3
 
4
+ # PyTorch CPU 版本(通过官方索引安装)
5
+ torch==2.1.0
6
+ torchvision==0.16.0
7
+ torchaudio==0.16.0
8
 
9
+ # 其他依赖
10
  transformers==4.35.2
 
 
11
  Pillow==10.0.1
12
+ upstash-vector==0.1.4
13
+ numpy==1.26.0