jadechoghari
commited on
Commit
•
78b2e05
1
Parent(s):
b55e768
Update generate.py
Browse files- generate.py +8 -7
generate.py
CHANGED
@@ -5,13 +5,14 @@ from tqdm import tqdm
|
|
5 |
import os
|
6 |
from transformers import logging
|
7 |
|
8 |
-
from utils import CONTROLNET_DICT
|
9 |
-
from utils import load_config, save_config
|
10 |
-
from utils import get_controlnet_kwargs, get_frame_ids, get_latents_dir, init_model, seed_everything
|
11 |
-
from utils import prepare_control, load_latent, load_video, prepare_depth, save_video
|
12 |
-
from utils import register_time, register_attention_control, register_conv_control
|
13 |
-
|
14 |
-
|
|
|
15 |
|
16 |
# suppress partial model loading warning
|
17 |
logging.set_verbosity_error()
|
|
|
5 |
import os
|
6 |
from transformers import logging
|
7 |
|
8 |
+
from .utils import CONTROLNET_DICT
|
9 |
+
from .utils import load_config, save_config
|
10 |
+
from .utils import get_controlnet_kwargs, get_frame_ids, get_latents_dir, init_model, seed_everything
|
11 |
+
from .utils import prepare_control, load_latent, load_video, prepare_depth, save_video
|
12 |
+
from .utils import register_time, register_attention_control, register_conv_control
|
13 |
+
|
14 |
+
# will cause an issue
|
15 |
+
from . import vidtome
|
16 |
|
17 |
# suppress partial model loading warning
|
18 |
logging.set_verbosity_error()
|