11.7 资格审查货物标修改

This commit is contained in:
zy123 2024-11-07 16:31:57 +08:00
parent 0267a1884a
commit 77c18af768
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ if __name__ == "__main__":
merged_baseinfo_path=r"C:\Users\Administrator\Desktop\fsdownload\a110ed59-00e8-47ec-873a-bd4579a6e628\ztbfile_merged_baseinfo.pdf" merged_baseinfo_path=r"C:\Users\Administrator\Desktop\fsdownload\a110ed59-00e8-47ec-873a-bd4579a6e628\ztbfile_merged_baseinfo.pdf"
# file_path = 'D:\\flask_project\\flask_app\\static\\output\\fee18877-0c60-4c28-911f-9a5f7d1325a7\\clause1.json' # file_path = 'D:\\flask_project\\flask_app\\static\\output\\fee18877-0c60-4c28-911f-9a5f7d1325a7\\clause1.json'
try: try:
res = extract_from_notice(merged_baseinfo_path,clause_path, 1) # 可以改变此处的 type 参数测试不同的场景 res = extract_from_notice(merged_baseinfo_path,clause_path, 2) # 可以改变此处的 type 参数测试不同的场景
res2=json.dumps(res,ensure_ascii=False,indent=4) res2=json.dumps(res,ensure_ascii=False,indent=4)
print(res2) print(res2)
except ValueError as e: except ValueError as e:

View File

@ -500,7 +500,7 @@ def combine_qualification_review(invalid_path, qualification_path, notice_path):
processed_data = process_dict(preprocess_dict(ordered_res)) processed_data = process_dict(preprocess_dict(ordered_res))
# 最终处理结果,例如打印或保存 # 最终处理结果,例如打印或保存
return processed_data return {"资格审查": processed_data}
# def combine_qualification_review(invalid_path, output_folder, qualification_path, notice_path): # def combine_qualification_review(invalid_path, output_folder, qualification_path, notice_path):