We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75311da commit 4e01d0bCopy full SHA for 4e01d0b
docling_eval/prediction_providers/aws_prediction_provider.py
@@ -74,7 +74,12 @@ def __init__(
74
75
region_name = os.getenv("AWS_REGION", "us-east-1")
76
77
- self.textract_client = boto3.client("textract", region_name=region_name)
+ self.textract_client = boto3.client(
78
+ "textract",
79
+ aws_access_key_id=aws_access_key_id,
80
+ aws_secret_access_key=aws_secret_access_key,
81
+ region_name=region_name,
82
+ )
83
84
def extract_bbox_from_geometry(self, geometry):
85
"""Helper function to extract bbox coordinates from AWS Textract geometry data."""
0 commit comments