svjack commited on
Commit
fcc5de5
·
verified ·
1 Parent(s): b2e1391

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ def setup_models():
14
  os.makedirs("ckpts", exist_ok=True)
15
 
16
  try:
17
- #if torch.cuda.is_available():
18
- if True:
19
  # 下载HunyuanVideo模型
20
  hunyuan_path = Path("ckpts/hunyuan-video-t2v-720p")
21
  if not hunyuan_path.exists():
 
14
  os.makedirs("ckpts", exist_ok=True)
15
 
16
  try:
17
+ if torch.cuda.is_available():
18
+ #if True:
19
  # 下载HunyuanVideo模型
20
  hunyuan_path = Path("ckpts/hunyuan-video-t2v-720p")
21
  if not hunyuan_path.exists():