kostis-init commited on
Commit
752c498
Β·
1 Parent(s): 03bca85
Files changed (2) hide show
  1. src/config.py +15 -1
  2. src/ui.py +2 -1
src/config.py CHANGED
@@ -18,4 +18,18 @@ SUPPORTED_FRAMEWORKS = [
18
  CPMPY_FRAMEWORK,
19
  MINIZINC_FRAMEWORK,
20
  ORTOOLS_FRAMEWORK,
21
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  CPMPY_FRAMEWORK,
19
  MINIZINC_FRAMEWORK,
20
  ORTOOLS_FRAMEWORK,
21
+ ]
22
+
23
+ # print configuration
24
+ def print_config():
25
+ """Print the configuration settings."""
26
+ print("Configuration Settings:")
27
+ print(f"EVAL_SCRIPT_PATH: {EVAL_SCRIPT_PATH}")
28
+ print(f"LOCAL_TEMP_SUBMISSIONS_DIR: {LOCAL_TEMP_SUBMISSIONS_DIR}")
29
+ print(f"DATASET_REPO_ID: {DATASET_REPO_ID}")
30
+ print(f"DS_SUBMISSIONS_PATH: {DS_SUBMISSIONS_PATH}")
31
+ print(f"DS_RESULTS_PATH: {DS_RESULTS_PATH}")
32
+ print(f"LDB_COLS: {LDB_COLS}")
33
+ print(f"SUPPORTED_FRAMEWORKS: {SUPPORTED_FRAMEWORKS}")
34
+
35
+ print_config()
src/ui.py CHANGED
@@ -4,8 +4,9 @@ import gradio as gr
4
  from pathlib import Path
5
  print("importedddd1 1", flush=True)
6
  from src.config import SUPPORTED_FRAMEWORKS
 
 
7
  print("importedddd")
8
- # from src.hf_utils import load_leaderboard_data, upload_submission, check_name_exists
9
  # from src.eval import start_background_evaluation
10
  #
11
  #
 
4
  from pathlib import Path
5
  print("importedddd1 1", flush=True)
6
  from src.config import SUPPORTED_FRAMEWORKS
7
+
8
+ from src.hf_utils import load_leaderboard_data, upload_submission, check_name_exists
9
  print("importedddd")
 
10
  # from src.eval import start_background_evaluation
11
  #
12
  #