027e9ba5 by 周伟奇

fix hil e-contract

1 parent c011a3cd
......@@ -67,10 +67,10 @@ def predict(pdf_info, file_cls):
if file_cls == 2:
# 提取信息 ———— 车辆租赁抵押合同
results = f.get_info_2()
if is_clczxy is True:
for key in results:
if results[key]['page'] is not None:
results[key]['page'] = str(int(results[key]['page']) + 6)
# if is_clczxy is True:
# for key in results:
# if results[key]['page'] is not None:
# results[key]['page'] = str(int(results[key]['page']) + 6)
for key in results:
if results[key]['page'] is not None:
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!