liuxuan320 commited on
Commit
bed79b2
·
verified ·
1 Parent(s): da0ab44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def print_directory_structure(start_path, indent=''):
39
  def load_test_data(task):
40
  """Load the JSON file corresponding to the selected task"""
41
  # 调用函数,打印当前目录结构
42
- print_directory_structure('.')
43
  with open(os.path.join(DATA_DIR, f"{task}.json"), "r", encoding='utf-8') as f:
44
  test_data = json.load(f)
45
 
 
39
  def load_test_data(task):
40
  """Load the JSON file corresponding to the selected task"""
41
  # 调用函数,打印当前目录结构
42
+ print_directory_structure(base_dir)
43
  with open(os.path.join(DATA_DIR, f"{task}.json"), "r", encoding='utf-8') as f:
44
  test_data = json.load(f)
45