Spaces:
Sleeping
Sleeping
Update annotator_v3_3.py
Browse files- annotator_v3_3.py +1 -0
annotator_v3_3.py
CHANGED
@@ -32,6 +32,7 @@ def load_output_dict(output_file):
|
|
32 |
|
33 |
def save_output_dict(output_file, data):
|
34 |
"""保存标注结果到 output.json"""
|
|
|
35 |
with open(output_file, 'w', encoding='utf-8') as f:
|
36 |
json.dump(data, f, indent=2, ensure_ascii=False)
|
37 |
|
|
|
32 |
|
33 |
def save_output_dict(output_file, data):
|
34 |
"""保存标注结果到 output.json"""
|
35 |
+
print(f"Try to save output")
|
36 |
with open(output_file, 'w', encoding='utf-8') as f:
|
37 |
json.dump(data, f, indent=2, ensure_ascii=False)
|
38 |
|