huytofu92 commited on
Commit
c97c6f0
·
1 Parent(s): 44615f4
Files changed (1) hide show
  1. utils.py +1 -0
utils.py CHANGED
@@ -21,6 +21,7 @@ def find_file_by_task_id(task_id: str, metadata_path: str = "Final_Assignment_Te
21
  try:
22
  current_dir = os.path.dirname(os.path.abspath(__file__))
23
  print("CURRENT DIR: ", current_dir)
 
24
  metadata_path = os.path.join(current_dir, "validation", "metadata.jsonl")
25
  except Exception as e:
26
  raise FileNotFoundError(f"Metadata file not found at {metadata_path}")
 
21
  try:
22
  current_dir = os.path.dirname(os.path.abspath(__file__))
23
  print("CURRENT DIR: ", current_dir)
24
+ print("ABSOLUTE PATH: ", os.path.abspath(__file__))
25
  metadata_path = os.path.join(current_dir, "validation", "metadata.jsonl")
26
  except Exception as e:
27
  raise FileNotFoundError(f"Metadata file not found at {metadata_path}")