Spaces:
Runtime error
Runtime error
christopher
commited on
Commit
•
f9f9d33
1
Parent(s):
db5161a
Update app.py
Browse files
app.py
CHANGED
@@ -299,7 +299,7 @@ option_ds = col_option_ds.selectbox("Select the dataset", sorted(dataset_names[o
|
|
299 |
# checks_names = sorted(list(os.listdir(checks_path)))
|
300 |
|
301 |
# log_path = os.path.join(DATASET_DIR_PATH, option_ds, "logs.txt")
|
302 |
-
ds_log = load_dataset(LOGS_DATASET_DIR_PATH_BEFORE_CLEAN_SELECT, f"{option_clean}_dsname_{option_ds}", use_auth_token=
|
303 |
log = ds_log["train"][0]["log"]
|
304 |
get_logs_stats(raw_log=log)
|
305 |
|
|
|
299 |
# checks_names = sorted(list(os.listdir(checks_path)))
|
300 |
|
301 |
# log_path = os.path.join(DATASET_DIR_PATH, option_ds, "logs.txt")
|
302 |
+
ds_log = load_dataset(LOGS_DATASET_DIR_PATH_BEFORE_CLEAN_SELECT, f"{option_clean}_dsname_{option_ds}", use_auth_token=HF_API_TOKEN, trust_remote_code=True)
|
303 |
log = ds_log["train"][0]["log"]
|
304 |
get_logs_stats(raw_log=log)
|
305 |
|