Spaces:
Sleeping
Sleeping
load via new huggingface_hub
Browse files- mgr_biases.py +4 -1
mgr_biases.py
CHANGED
@@ -219,8 +219,11 @@ def get_bias_json(filepath: str):
|
|
219 |
print("---FOLDERS---")
|
220 |
print(folders_sorted[0])
|
221 |
|
222 |
-
with open(os.path.join(
|
223 |
bias_json = json.load(f)
|
|
|
|
|
|
|
224 |
|
225 |
return bias_json
|
226 |
|
|
|
219 |
print("---FOLDERS---")
|
220 |
print(folders_sorted[0])
|
221 |
|
222 |
+
with open(os.path.join(ds_local_path, folders_sorted[0], filepath)) as f:
|
223 |
bias_json = json.load(f)
|
224 |
+
|
225 |
+
#with open(os.path.join(LOCAL_DATA_DIRNAME, filename)) as f:
|
226 |
+
# bias_json = json.load(f)
|
227 |
|
228 |
return bias_json
|
229 |
|