Upload requirements.txt
Browse files- requirements.txt +4 -2
requirements.txt
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
torch>=2.0.0
|
| 2 |
torchvision
|
| 3 |
diffusers>=0.20.0
|
| 4 |
transformers
|
| 5 |
accelerate
|
| 6 |
-
--find-links https://download.pytorch.org/whl/torch_stable.html
|
| 7 |
-
xformers --index-url https://download.pytorch.org/whl/cu118
|
| 8 |
gradio>=3.0.0
|
| 9 |
huggingface-hub
|
|
|
|
| 1 |
+
# 指定兼容的 typer 版本
|
| 2 |
+
typer>=0.3.0,<0.10.0
|
| 3 |
+
|
| 4 |
+
# 其他依赖
|
| 5 |
torch>=2.0.0
|
| 6 |
torchvision
|
| 7 |
diffusers>=0.20.0
|
| 8 |
transformers
|
| 9 |
accelerate
|
|
|
|
|
|
|
| 10 |
gradio>=3.0.0
|
| 11 |
huggingface-hub
|