Syoy commited on
Commit
b23752f
1 Parent(s): 9b3698d
Files changed (1) hide show
  1. dcase23-task2-enriched.py +1 -1
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