change_loading_options
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ import requests
|
|
39 |
|
40 |
def load_large_files(relative_path):
|
41 |
# URL to file in the Hugging Face Hub
|
42 |
-
url = "https://huggingface.co/mingyuan/data_hf/" + relative_path
|
43 |
# Temporary download in Space
|
44 |
file_path = "/tmp/" + relative_path.split('/')[-1]
|
45 |
|
|
|
39 |
|
40 |
def load_large_files(relative_path):
|
41 |
# URL to file in the Hugging Face Hub
|
42 |
+
url = "https://huggingface.co/mingyuan/data_hf/blob/main/" + relative_path
|
43 |
# Temporary download in Space
|
44 |
file_path = "/tmp/" + relative_path.split('/')[-1]
|
45 |
|