rahul7star commited on
Commit
506fa47
·
verified ·
1 Parent(s): abcba3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -55,11 +55,13 @@ def download_ckpts(files):
55
  filename=file_path,
56
  local_dir=WEIGHTS_DIR,
57
  local_dir_use_symlinks=False,
 
58
  )
 
 
59
  except Exception as e:
60
  print(f"❌ Failed to download {file_path}: {e}")
61
 
62
-
63
  def run_sample_gpu_poor():
64
  ckpt_fp8 = os.path.join(WEIGHTS_DIR, "ckpts", "hunyuan-video-t2v-720p", "transformers", "mp_rank_00_model_states_fp8.pt")
65
 
 
55
  filename=file_path,
56
  local_dir=WEIGHTS_DIR,
57
  local_dir_use_symlinks=False,
58
+ resume_download=True,
59
  )
60
+ except EntryNotFoundError:
61
+ print(f"❌ Entry not found: {file_path}")
62
  except Exception as e:
63
  print(f"❌ Failed to download {file_path}: {e}")
64
 
 
65
  def run_sample_gpu_poor():
66
  ckpt_fp8 = os.path.join(WEIGHTS_DIR, "ckpts", "hunyuan-video-t2v-720p", "transformers", "mp_rank_00_model_states_fp8.pt")
67