Commit 5d52d3bd authored by zhougaofeng's avatar zhougaofeng
Browse files

Update pdf_client.py

parent e986ba8a
......@@ -33,7 +33,7 @@ class ocrPdfClient:
"output_dir": str(output_dir),
"config_path": str(config_path),
}
logger.info(f'reading: {payload}')
# logger.info(f'reading: {payload}')
try:
response = requests.post(f"{self.api_url}/pdf_ocr", json=payload)
output_dir = response.json()['output_path']
......
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