Spaces:
Runtime error
Runtime error
Zhouyan248
commited on
Commit
·
13a8aa5
1
Parent(s):
a92b25c
Update base/app.py
Browse files- base/app.py +2 -2
base/app.py
CHANGED
@@ -14,8 +14,8 @@ config_path = "./base/configs/sample.yaml"
|
|
14 |
args = OmegaConf.load("./base/configs/sample.yaml")
|
15 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
16 |
### download models
|
17 |
-
snapshot_download('Vchitect/LaVie',cache_dir='./pretrained_models')
|
18 |
-
snapshot_download('CompVis/stable-diffusion-v1-4',cache_dir='./pretrained_models')
|
19 |
|
20 |
# ------- get model ---------------
|
21 |
model_t2V = model_t2v_fun(args)
|
|
|
14 |
args = OmegaConf.load("./base/configs/sample.yaml")
|
15 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
16 |
### download models
|
17 |
+
# snapshot_download('Vchitect/LaVie',cache_dir='./pretrained_models')
|
18 |
+
# snapshot_download('CompVis/stable-diffusion-v1-4',cache_dir='./pretrained_models')
|
19 |
|
20 |
# ------- get model ---------------
|
21 |
model_t2V = model_t2v_fun(args)
|