fix: correct OCR API path from /ocr to /chandra/ocr for hub endpoint
This commit is contained in:
@@ -277,7 +277,7 @@ class ResilientChandraOCRClient(ChandraOCRClient):
|
|||||||
files = {"file": (path.name, file_obj, _guess_mime(path))}
|
files = {"file": (path.name, file_obj, _guess_mime(path))}
|
||||||
data = {"include_images": str(self.include_images).lower()}
|
data = {"include_images": str(self.include_images).lower()}
|
||||||
response = await client.post(
|
response = await client.post(
|
||||||
f"{self.base_url}/ocr",
|
f"{self.base_url}/chandra/ocr",
|
||||||
files=files,
|
files=files,
|
||||||
data=data,
|
data=data,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user