Fix absolute path
Browse files- 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 [
|