Spaces:
Runtime error
Runtime error
update app
Browse files
app.py
CHANGED
@@ -263,7 +263,7 @@ st.write(
|
|
263 |
)
|
264 |
col_option_clean, col_option_ds = st.columns(2)
|
265 |
|
266 |
-
CHECK_CONFIGS = get_dataset_config_names(CHECK_DATASET_DIR_PATH_BEFORE_CLEAN_SELECT, use_auth_token=
|
267 |
|
268 |
CLEANING_VERSIONS = set()
|
269 |
dataset_names = set()
|
@@ -288,7 +288,7 @@ option_ds = col_option_ds.selectbox("Select the dataset", dataset_names)
|
|
288 |
# checks_names = sorted(list(os.listdir(checks_path)))
|
289 |
|
290 |
# log_path = os.path.join(DATASET_DIR_PATH, option_ds, "logs.txt")
|
291 |
-
ds_log = load_dataset(LOGS_DATASET_DIR_PATH_BEFORE_CLEAN_SELECT, f"{option_clean}_dsname_{option_ds}", use_auth_token=
|
292 |
log = ds_log["train"][0]
|
293 |
get_logs_stats(log=log)
|
294 |
|
|
|
263 |
)
|
264 |
col_option_clean, col_option_ds = st.columns(2)
|
265 |
|
266 |
+
CHECK_CONFIGS = get_dataset_config_names(CHECK_DATASET_DIR_PATH_BEFORE_CLEAN_SELECT, use_auth_token=HF_API_TOKEN)
|
267 |
|
268 |
CLEANING_VERSIONS = set()
|
269 |
dataset_names = set()
|
|
|
288 |
# checks_names = sorted(list(os.listdir(checks_path)))
|
289 |
|
290 |
# log_path = os.path.join(DATASET_DIR_PATH, option_ds, "logs.txt")
|
291 |
+
ds_log = load_dataset(LOGS_DATASET_DIR_PATH_BEFORE_CLEAN_SELECT, f"{option_clean}_dsname_{option_ds}", use_auth_token=HF_API_TOKEN)
|
292 |
log = ds_log["train"][0]
|
293 |
get_logs_stats(log=log)
|
294 |
|