change_loading_options
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def load_large_files(relative_path):
|
|
57 |
# file.write(chunk)
|
58 |
# bar.update(len(chunk))
|
59 |
# print(f"File downloaded successfully and saved as: {file_path}")
|
60 |
-
file_path = hf_hub_download(repo_id="mingyuan/data_hf", filename=relative_path)
|
61 |
return file_path
|
62 |
|
63 |
def motion_temporal_filter(motion, sigma=1):
|
|
|
57 |
# file.write(chunk)
|
58 |
# bar.update(len(chunk))
|
59 |
# print(f"File downloaded successfully and saved as: {file_path}")
|
60 |
+
file_path = hf_hub_download(repo_id="mingyuan/data_hf", filename=relative_path, repo_type="dataset")
|
61 |
return file_path
|
62 |
|
63 |
def motion_temporal_filter(motion, sigma=1):
|