Spaces:
Runtime error
Runtime error
Disable rich
Browse files- requirements.txt +1 -1
- run_evaluation_jobs.py +1 -2
requirements.txt
CHANGED
@@ -4,7 +4,7 @@ streamlit==1.10.0
|
|
4 |
datasets<2.3
|
5 |
evaluate<0.2
|
6 |
jsonlines
|
7 |
-
typer
|
8 |
# Dataset specific deps
|
9 |
py7zr<0.19
|
10 |
openpyxl<3.1
|
|
|
4 |
datasets<2.3
|
5 |
evaluate<0.2
|
6 |
jsonlines
|
7 |
+
typer
|
8 |
# Dataset specific deps
|
9 |
py7zr<0.19
|
10 |
openpyxl<3.1
|
run_evaluation_jobs.py
CHANGED
@@ -4,7 +4,6 @@ from pathlib import Path
|
|
4 |
import typer
|
5 |
from datasets import load_dataset
|
6 |
from dotenv import load_dotenv
|
7 |
-
from rich import print
|
8 |
|
9 |
from utils import http_get, http_post
|
10 |
|
@@ -22,7 +21,7 @@ else:
|
|
22 |
|
23 |
|
24 |
def main():
|
25 |
-
logs_df = load_dataset("autoevaluate/evaluation-job-logs", use_auth_token=
|
26 |
# Filter out legacy AutoTrain submissions prior to project approvals requirement
|
27 |
projects_df = logs_df.copy()[(~logs_df["project_id"].isnull())]
|
28 |
# Filter IDs for appropriate AutoTrain env (staging vs prod)
|
|
|
4 |
import typer
|
5 |
from datasets import load_dataset
|
6 |
from dotenv import load_dotenv
|
|
|
7 |
|
8 |
from utils import http_get, http_post
|
9 |
|
|
|
21 |
|
22 |
|
23 |
def main():
|
24 |
+
logs_df = load_dataset("autoevaluate/evaluation-job-logs", use_auth_token=HF_TOKEN, split="train").to_pandas()
|
25 |
# Filter out legacy AutoTrain submissions prior to project approvals requirement
|
26 |
projects_df = logs_df.copy()[(~logs_df["project_id"].isnull())]
|
27 |
# Filter IDs for appropriate AutoTrain env (staging vs prod)
|