diff --git a/flask_app/routes/货物标解析main.py b/flask_app/routes/货物标解析main.py index 5a008eb..660601f 100644 --- a/flask_app/routes/货物标解析main.py +++ b/flask_app/routes/货物标解析main.py @@ -228,8 +228,8 @@ def goods_bid_main(output_folder, file_path, file_type, unique_id): with concurrent.futures.ThreadPoolExecutor() as executor: # 立即启动不依赖 knowledge_name 和 index 的任务 futures = { - 'evaluation_standards': executor.submit(fetch_evaluation_standards,processed_data['invalid_deleted_docx'], #技术评分 商务评分 - processed_data['evaluation_method_path'],logger), + # 'evaluation_standards': executor.submit(fetch_evaluation_standards,processed_data['invalid_deleted_docx'], #技术评分 商务评分 + # processed_data['evaluation_method_path'],logger), 'invalid_requirements': executor.submit(fetch_invalid_requirements, processed_data['invalid_added_docx'], #无效标与废标项 output_folder,logger), @@ -277,8 +277,8 @@ def goods_bid_main(output_folder, file_path, file_type, unique_id): } yield json.dumps(default_evaluation, ensure_ascii=False) # yield json.dumps({'error': f'Error processing {key}: {str(exc)}'}, ensure_ascii=False) - if collected_good_list is not None: - yield json.dumps({'good_list': transform_json_values(collected_good_list)}, ensure_ascii=False) + # if collected_good_list is not None: + # yield json.dumps({'good_list': transform_json_values(collected_good_list)}, ensure_ascii=False) #TODO:小解析考虑提速:1:直接pdf转文本,再切分。后期考虑。