AuditEdge commited on
Commit
ddc72b8
1 Parent(s): a47f1bf

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 = {"attachemnt_num":gstin_num,
254
- "attachemnt_status":200}
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