Commit
·
d65a811
1
Parent(s):
79490af
Update loadingscript
Browse files- GraySpectrogram.py +1 -1
GraySpectrogram.py
CHANGED
|
@@ -128,7 +128,7 @@ class GraySpectrogram2(datasets.GeneratorBasedBuilder):
|
|
| 128 |
# print(file_obj)
|
| 129 |
if file_obj[0].startswith('content/'):
|
| 130 |
fname = basename(file_obj[0])
|
| 131 |
-
file_obj = (fname, file_obj[1])
|
| 132 |
file_name_obj.append(file_obj)
|
| 133 |
# print(file_obj)
|
| 134 |
else:
|
|
|
|
| 128 |
# print(file_obj)
|
| 129 |
if file_obj[0].startswith('content/'):
|
| 130 |
fname = basename(file_obj[0])
|
| 131 |
+
file_obj = (fname, file_obj[1].read())
|
| 132 |
file_name_obj.append(file_obj)
|
| 133 |
# print(file_obj)
|
| 134 |
else:
|