Spaces:
Running
on
T4
Running
on
T4
spelling mistake in gst response resolved
Browse files
layoutlmv3FineTuning/Layoutlm_inference/inference_handler.py
CHANGED
@@ -250,8 +250,8 @@ class ModelHandler(object):
|
|
250 |
gstin_num = "".join(item['text'] for item in flattened_output_list[0]['output'] if item['label'] == 'GSTIN')
|
251 |
print("entered gst\n\n",flattened_output_list,"\n\n")
|
252 |
# IFSC = "".join(item['text'] for item in flattened_output_list[0]['output'] if item['label'] == 'IFSC')
|
253 |
-
result = {"
|
254 |
-
"
|
255 |
|
256 |
|
257 |
# if
|
|
|
250 |
gstin_num = "".join(item['text'] for item in flattened_output_list[0]['output'] if item['label'] == 'GSTIN')
|
251 |
print("entered gst\n\n",flattened_output_list,"\n\n")
|
252 |
# IFSC = "".join(item['text'] for item in flattened_output_list[0]['output'] if item['label'] == 'IFSC')
|
253 |
+
result = {"attachment_num":gstin_num,
|
254 |
+
"attachment_status":200}
|
255 |
|
256 |
|
257 |
# if
|