Spaces:
Running
Running
Commit
•
d004b92
1
Parent(s):
a5c5307
Can't get file structure of spaces right
Browse files- app.py +2 -2
- src/leaderboard/build_leaderboard.py +3 -1
app.py
CHANGED
@@ -103,10 +103,10 @@ def update_board():
|
|
103 |
os.environ[RESET_JUDGEMENT_ENV] = "0"
|
104 |
|
105 |
# gen_judgement_file = os.path.join(HF_HOME, "src/gen/gen_judgement.py")
|
106 |
-
# subprocess.
|
107 |
|
108 |
show_result_file = os.path.join(HF_HOME, "src/gen/show_result.py")
|
109 |
-
subprocess.
|
110 |
|
111 |
# update the gr item
|
112 |
# TODO
|
|
|
103 |
os.environ[RESET_JUDGEMENT_ENV] = "0"
|
104 |
|
105 |
# gen_judgement_file = os.path.join(HF_HOME, "src/gen/gen_judgement.py")
|
106 |
+
# subprocess.Popen(["python3", gen_judgement_file])
|
107 |
|
108 |
show_result_file = os.path.join(HF_HOME, "src/gen/show_result.py")
|
109 |
+
subprocess.Popen("python3", show_result_file, "--output")
|
110 |
|
111 |
# update the gr item
|
112 |
# TODO
|
src/leaderboard/build_leaderboard.py
CHANGED
@@ -61,7 +61,9 @@ def download_openbench():
|
|
61 |
# download answers of different models that we trust
|
62 |
download_dataset("Vikhrmodels/openbench-eval", EVAL_RESULTS_PATH)
|
63 |
|
64 |
-
|
|
|
|
|
65 |
logging.info(subprocess.Popen(f"ls {EVAL_RESULTS_PATH}"))
|
66 |
|
67 |
# copy the trusted model answers to data
|
|
|
61 |
# download answers of different models that we trust
|
62 |
download_dataset("Vikhrmodels/openbench-eval", EVAL_RESULTS_PATH)
|
63 |
|
64 |
+
subprocess.Popen("pwd")
|
65 |
+
subprocess.Popen("ls")
|
66 |
+
|
67 |
logging.info(subprocess.Popen(f"ls {EVAL_RESULTS_PATH}"))
|
68 |
|
69 |
# copy the trusted model answers to data
|