Fabrice-TIERCELIN commited on
Commit
fea04d7
·
verified ·
1 Parent(s): 58d79f2

from huggingface_hub import snapshot_download

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -8,13 +8,13 @@ import random
8
  import spaces
9
  import torch
10
 
11
- #from hyvideo.utils.file_utils import save_videos_grid
12
- #from hyvideo.utils.preprocess_text_encoder_tokenizer_utils import preprocess_text_encoder_tokenizer
13
- #from hyvideo.config import parse_args
14
- #from hyvideo.inference import HunyuanVideoSampler
15
- #from hyvideo.constants import NEGATIVE_PROMPT
16
 
17
- #from huggingface_hub import snapshot_download
18
 
19
  #if torch.cuda.device_count() > 0:
20
  # snapshot_download(repo_id="tencent/HunyuanVideo", repo_type="model", local_dir="ckpts", force_download=True)
 
8
  import spaces
9
  import torch
10
 
11
+ from hyvideo.utils.file_utils import save_videos_grid
12
+ from hyvideo.utils.preprocess_text_encoder_tokenizer_utils import preprocess_text_encoder_tokenizer
13
+ from hyvideo.config import parse_args
14
+ from hyvideo.inference import HunyuanVideoSampler
15
+ from hyvideo.constants import NEGATIVE_PROMPT
16
 
17
+ from huggingface_hub import snapshot_download
18
 
19
  #if torch.cuda.device_count() > 0:
20
  # snapshot_download(repo_id="tencent/HunyuanVideo", repo_type="model", local_dir="ckpts", force_download=True)