ruff format
This commit is contained in:
parent
37e3e8ad6f
commit
d777558b34
17 changed files with 411 additions and 368 deletions
|
|
@ -9,7 +9,7 @@ for listing in tqdm(list(Listing.get_all_listings())):
|
|||
floorplans = json.load(f)
|
||||
|
||||
for floorplan in floorplans:
|
||||
floorplan['estimated_sqm'] = extract_total_sqm(floorplan['text'])
|
||||
floorplan["estimated_sqm"] = extract_total_sqm(floorplan["text"])
|
||||
|
||||
with open(listing.path_floorplan_ocr_json(), 'w') as f:
|
||||
with open(listing.path_floorplan_ocr_json(), "w") as f:
|
||||
floorplans = json.dump(floorplans, f)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue