Spaces:
Sleeping
Sleeping
anh-khoa-nguyen commited on
Commit ·
25f341a
1
Parent(s): 8bf9be8
Remove debug code that writes to a local file
Browse files- core/extractor.py +3 -3
core/extractor.py
CHANGED
|
@@ -295,9 +295,9 @@ class Extractor:
|
|
| 295 |
else:
|
| 296 |
continue
|
| 297 |
|
| 298 |
-
with open('extracted_infomation.json', 'w', encoding='utf-8') as f:
|
| 299 |
-
|
| 300 |
-
|
| 301 |
|
| 302 |
return result
|
| 303 |
|
|
|
|
| 295 |
else:
|
| 296 |
continue
|
| 297 |
|
| 298 |
+
# with open('extracted_infomation.json', 'w', encoding='utf-8') as f:
|
| 299 |
+
# f.write(json.dumps(result, indent=4, ensure_ascii=False))
|
| 300 |
+
# f.close()
|
| 301 |
|
| 302 |
return result
|
| 303 |
|