temp json
Browse files
dcase23-task2-enriched.py
CHANGED
@@ -217,7 +217,7 @@ class DCASE2023Task2DatasetConfig(datasets.BuilderConfig):
|
|
217 |
return df.copy()
|
218 |
|
219 |
def get_layout(self, config: str = "standard") -> str:
|
220 |
-
layout_json = tempfile.mktemp()
|
221 |
with open(layout_json, "w") as outfile:
|
222 |
json.dump(self.layout[config], outfile)
|
223 |
|
|
|
217 |
return df.copy()
|
218 |
|
219 |
def get_layout(self, config: str = "standard") -> str:
|
220 |
+
layout_json = tempfile.mktemp(".json")
|
221 |
with open(layout_json, "w") as outfile:
|
222 |
json.dump(self.layout[config], outfile)
|
223 |
|