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