mingyuan commited on
Commit
beca859
·
1 Parent(s): 4c803c6

change_loading_options

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def load_large_files(relative_path):
60
  # file.write(chunk)
61
  # bar.update(len(chunk))
62
  # print(f"File downloaded successfully and saved as: {file_path}")
63
- file_path = hf_hub_download(repo_id="mingyuan/data_hf", filename=relative_path, repo_type="dataset")
64
  return file_path
65
 
66
  def motion_temporal_filter(motion, sigma=1):
 
60
  # file.write(chunk)
61
  # bar.update(len(chunk))
62
  # print(f"File downloaded successfully and saved as: {file_path}")
63
+ file_path = hf_hub_download(repo_id="mingyuan/data_hf", filename=relative_path, repo_type="dataset", force_filename=relative_path.split('/')[-1])
64
  return file_path
65
 
66
  def motion_temporal_filter(motion, sigma=1):