"vscode:/vscode.git/clone" did not exist on "1d480298c10b9f097f7a35200e51248947be9bd2"
Commit 59af01ad authored by zhougaofeng's avatar zhougaofeng
Browse files

Update pdf_client.py

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