Commit 59af01ad authored by zhougaofeng's avatar zhougaofeng
Browse files

Update pdf_client.py

parent 8ffec57d
......@@ -27,11 +27,10 @@ class ocrPdfClient:
logger.error(f'Health check request failed:{e}')
return False
def ocr_pdf_client(self, config_path,path, output_dir):
def ocr_pdf_client(self,path, output_dir):
payload = {
"path": str(path),
"output_dir": str(output_dir),
"config_path": str(config_path),
}
# logger.info(f'reading: {payload}')
try:
......
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