Spaces:
Running
Running
Update user_evaluation_variables.py
Browse files
user_evaluation_variables.py
CHANGED
@@ -4,11 +4,13 @@ import streamlit as st
|
|
4 |
from pathlib import Path
|
5 |
from huggingface_hub import CommitScheduler, login, hf_hub_download
|
6 |
|
7 |
-
EVAL_DATABASE_DIR = Path("data")
|
8 |
-
EVAL_DATABASE_DIR.mkdir(parents=True, exist_ok=True)
|
9 |
|
10 |
-
GEN_EVAL_DATABASE_PATH =
|
11 |
-
TASK_EVAL_DATABASE_PATH =
|
|
|
|
|
12 |
|
13 |
EVAL_DATABASE_UPDATE_SCHEDULER = CommitScheduler(
|
14 |
repo_id="try-before-you-bias-data",
|
|
|
4 |
from pathlib import Path
|
5 |
from huggingface_hub import CommitScheduler, login, hf_hub_download
|
6 |
|
7 |
+
# EVAL_DATABASE_DIR = Path("data")
|
8 |
+
# EVAL_DATABASE_DIR.mkdir(parents=True, exist_ok=True)
|
9 |
|
10 |
+
GEN_EVAL_DATABASE_PATH = 'data/general_eval_database.yaml'
|
11 |
+
TASK_EVAL_DATABASE_PATH = 'data/task_oriented_eval_database.yaml'
|
12 |
+
# GEN_EVAL_DATABASE_PATH = EVAL_DATABASE_DIR / f"general_eval_database.yaml"
|
13 |
+
# TASK_EVAL_DATABASE_PATH = EVAL_DATABASE_DIR / f"task_oriented_eval_database.yaml"
|
14 |
|
15 |
EVAL_DATABASE_UPDATE_SCHEDULER = CommitScheduler(
|
16 |
repo_id="try-before-you-bias-data",
|