Spaces:
Runtime error
Runtime error
Commit ·
1e9865f
1
Parent(s): 35b7b80
Minimal edit for directory structure assumption. (#11)
Browse files- Minimal edit for directory structure assumption. (6513f2eccd9fc6e003944c90c2ada29a2576a10b)
Co-authored-by: Margaret Mitchell <meg@users.noreply.huggingface.co>
38 unmodified lines394041424243444538 unmodified lines all_evals.append(data) elif ".md" not in entry: # this is a folder sub_entries = [e for e in os.listdir(f"{save_path}/{entry}") if not e.startswith(".")] sub_entries = [e for e in os.listdir(f"{save_path}/{entry}") if os.isfile(e) and not e.startswith(".")] for sub_entry in sub_entries: file_path = os.path.join(save_path, entry, sub_entry) with open(file_path) as fp:src/populate.py+1-1