Commit 6d0d2552 authored by zhougaofeng's avatar zhougaofeng
Browse files

Update ocr_mkcontent.py

parent 4781cd49
......@@ -424,7 +424,7 @@ def ocr_mk_mm_standard_format(pdf_info_dict: list):
return content_list
def union_make(
def union_make(ocr_status:str,
config_path: str,
pdf_info_dict: list,
make_mode: str,
......@@ -438,7 +438,7 @@ def union_make(
url = config.get('server', 'ocr_server')
# logger.info(f'ocr_server:{url}')
client = PredictClient(url)
status = client.check_health()
status = ocr_status
if not status:
logger.warning(f'Health check failed. The server at "{url}" is not responding as expected.')
logger.info(f'Qwen ocr解析服务无法正常运行,暂不使用qwen解析表格服务')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment