Spaces:
Sleeping
Sleeping
Anonymous
commited on
Commit
·
17de4da
1
Parent(s):
c1ae727
update app
Browse files
app.py
CHANGED
@@ -18,9 +18,11 @@ from funcs import (
|
|
18 |
from utils.utils import instantiate_from_config
|
19 |
|
20 |
ckpt_path_1024 = "checkpoints/base_1024_v1/model.ckpt"
|
|
|
21 |
# hf_hub_download(repo_id="VideoCrafter/Text2Video-1024", filename="model.ckpt", local_dir=ckpt_path_1024)
|
22 |
|
23 |
ckpt_path_256 = "checkpoints/base_256_v1/model.pth"
|
|
|
24 |
hf_hub_download(repo_id="MoonQiu/LongerCrafter", filename="model.pth", local_dir=ckpt_path_256)
|
25 |
|
26 |
|
|
|
18 |
from utils.utils import instantiate_from_config
|
19 |
|
20 |
ckpt_path_1024 = "checkpoints/base_1024_v1/model.ckpt"
|
21 |
+
os.makedirs('checkpoints/base_1024_v1', exist_ok=True)
|
22 |
# hf_hub_download(repo_id="VideoCrafter/Text2Video-1024", filename="model.ckpt", local_dir=ckpt_path_1024)
|
23 |
|
24 |
ckpt_path_256 = "checkpoints/base_256_v1/model.pth"
|
25 |
+
os.makedirs('checkpoints/base_256_v1', exist_ok=True)
|
26 |
hf_hub_download(repo_id="MoonQiu/LongerCrafter", filename="model.pth", local_dir=ckpt_path_256)
|
27 |
|
28 |
|