SeaWolf-AI commited on
Commit
300bcf8
·
verified ·
1 Parent(s): ec58007

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def calculate_score(cat_scores):
65
  return {"wm_score":total,"grade":grade,"grade_label":glabel,"grade_color":gc,"pillars":pillar}
66
 
67
  DATASET={}
68
- _ds=os.path.join(os.path.dirname(os.path.abspath(__file__)),"wm_bench_dataset.json")
69
  if os.path.exists(_ds):
70
  try:
71
  with open(_ds,"r",encoding="utf-8") as f: DATASET=json.load(f)
 
65
  return {"wm_score":total,"grade":grade,"grade_label":glabel,"grade_color":gc,"pillars":pillar}
66
 
67
  DATASET={}
68
+ _ds="wm_bench_dataset.json"
69
  if os.path.exists(_ds):
70
  try:
71
  with open(_ds,"r",encoding="utf-8") as f: DATASET=json.load(f)