chhzh123 commited on
Commit
0d4450f
·
1 Parent(s): 4ab479b

Fix absolute path

Browse files
Files changed (1) hide show
  1. heurigen-data.py +1 -1
heurigen-data.py CHANGED
@@ -64,7 +64,7 @@ class HeuriGen(datasets.GeneratorBasedBuilder):
64
  all_files = []
65
  for path in glob.glob(os.path.join(base, pattern), recursive=True):
66
  if os.path.isfile(path):
67
- all_files.append(path)
68
  return sorted(all_files)
69
 
70
  return [
 
64
  all_files = []
65
  for path in glob.glob(os.path.join(base, pattern), recursive=True):
66
  if os.path.isfile(path):
67
+ all_files.append(os.path.abspath(path))
68
  return sorted(all_files)
69
 
70
  return [