Spaces:
Runtime error
Runtime error
from huggingface_hub import snapshot_download
Browse files
app.py
CHANGED
@@ -8,13 +8,13 @@ import random
|
|
8 |
import spaces
|
9 |
import torch
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
|
17 |
-
|
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)
|