Spaces:
Sleeping
Sleeping
Update services/utils.py
Browse files- services/utils.py +1 -0
services/utils.py
CHANGED
@@ -107,6 +107,7 @@ def strcuture_document_data(raw_text:str)->dict:
|
|
107 |
|
108 |
# print("printing structured json")
|
109 |
# print(dict_object)
|
|
|
110 |
return dict_object
|
111 |
except Exception as e:
|
112 |
print(f"Error occurred: {e}")
|
|
|
107 |
|
108 |
# print("printing structured json")
|
109 |
# print(dict_object)
|
110 |
+
dict_object['total_cost'] = dict_object['total_cost'].split('.')[0].replace(',','')
|
111 |
return dict_object
|
112 |
except Exception as e:
|
113 |
print(f"Error occurred: {e}")
|