Skip to content

Commit

Permalink
new endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
YohannParis committed Mar 5, 2024
1 parent 65c3d49 commit 390c21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def cosmos_extraction(document_id, filename, downloaded_document, force_run=Fals
logger.info("COSMOS response object: %s", extraction_json)
status_endpoint = extraction_json["status_endpoint"]
result_endpoint = f"{extraction_json['result_endpoint']}"
result_endpoint_text = f"{result_endpoint}/text"
result_endpoint_text = f"{result_endpoint}/text-layer"
equations_endpoint = f"{result_endpoint}/extractions/equations"
figures_endpoint = f"{result_endpoint}/extractions/figures"
tables_endpoint = f"{result_endpoint}/extractions/tables"
Expand Down

0 comments on commit 390c21f

Please sign in to comment.