Commit 1c17f2f8 authored by zhougaofeng's avatar zhougaofeng
Browse files

Update pdf_client.py

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