027e9ba5 by 周伟奇

fix hil e-contract

1 parent c011a3cd
...@@ -67,10 +67,10 @@ def predict(pdf_info, file_cls): ...@@ -67,10 +67,10 @@ def predict(pdf_info, file_cls):
67 if file_cls == 2: 67 if file_cls == 2:
68 # 提取信息 ———— 车辆租赁抵押合同 68 # 提取信息 ———— 车辆租赁抵押合同
69 results = f.get_info_2() 69 results = f.get_info_2()
70 if is_clczxy is True: 70 # if is_clczxy is True:
71 for key in results: 71 # for key in results:
72 if results[key]['page'] is not None: 72 # if results[key]['page'] is not None:
73 results[key]['page'] = str(int(results[key]['page']) + 6) 73 # results[key]['page'] = str(int(results[key]['page']) + 6)
74 for key in results: 74 for key in results:
75 if results[key]['page'] is not None: 75 if results[key]['page'] is not None:
76 results[key]['page'] = 'page_' + str(int(results[key]['page']) + 1) 76 results[key]['page'] = 'page_' + str(int(results[key]['page']) + 1)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!