Skip to content

Commit

Permalink
worker.py aktualisieren
Browse files Browse the repository at this point in the history
More mindee api changes
  • Loading branch information
DrRSatzteil authored Jan 5, 2024
1 parent 9428805 commit 03b2629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mayanmindee/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def process_custom(document_id: int, document_type: str) -> None:
storeocr = apis[document_type]["storeocr"]
if storeocr:
prediction = json.dumps(
parsed_doc.http_response["document"]["inference"]["prediction"]
parsed_doc.raw_http["document"]["inference"]["prediction"]
)
add_metadata(
m,
Expand Down

0 comments on commit 03b2629

Please sign in to comment.