Spaces:
Paused
Paused
Update dissector.py
Browse files- dissector.py +1 -1
dissector.py
CHANGED
@@ -169,7 +169,7 @@ def process(specs, struct, name):
|
|
169 |
data['truths'] = {'beats': struct.beats, 'downbeats': struct.downbeats, **convert_segments(struct)}
|
170 |
data['inferences'] = data['truths']
|
171 |
|
172 |
-
filename = f'dissector
|
173 |
|
174 |
with open(filename, 'w') as file:
|
175 |
file.write(json.dumps(data))
|
|
|
169 |
data['truths'] = {'beats': struct.beats, 'downbeats': struct.downbeats, **convert_segments(struct)}
|
170 |
data['inferences'] = data['truths']
|
171 |
|
172 |
+
filename = f'dissector.{name}.json'
|
173 |
|
174 |
with open(filename, 'w') as file:
|
175 |
file.write(json.dumps(data))
|