Update requirements.txt
Browse files- requirements.txt +8 -6
requirements.txt
CHANGED
@@ -1,17 +1,19 @@
|
|
1 |
|
|
|
|
|
2 |
diffusers==0.24.0
|
3 |
transformers==4.35.2
|
4 |
-
torch==2.1.0+cpu
|
5 |
accelerate==0.25.0
|
6 |
|
7 |
-
|
8 |
gradio==3.48.0
|
9 |
huggingface_hub==0.19.4
|
10 |
|
11 |
-
|
12 |
matplotlib==3.7.4
|
13 |
Pillow==10.1.0
|
14 |
-
|
15 |
-
|
16 |
omegaconf==2.3.0
|
17 |
-
tqdm==4.66.1
|
|
|
|
|
|
|
|
1 |
|
2 |
+
# 核心依赖
|
3 |
+
torch==2.1.0 --index-url https://download.pytorch.org/whl/cpu
|
4 |
diffusers==0.24.0
|
5 |
transformers==4.35.2
|
|
|
6 |
accelerate==0.25.0
|
7 |
|
8 |
+
# 界面
|
9 |
gradio==3.48.0
|
10 |
huggingface_hub==0.19.4
|
11 |
|
12 |
+
# 辅助工具
|
13 |
matplotlib==3.7.4
|
14 |
Pillow==10.1.0
|
|
|
|
|
15 |
omegaconf==2.3.0
|
16 |
+
tqdm==4.66.1
|
17 |
+
|
18 |
+
# 兼容性依赖
|
19 |
+
protobuf==3.20.3 # 防止版本冲突
|