From 43a22f84d9c934ee1aa11481acf55eb70e2b1bd4 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 6 Oct 2023 14:43:05 +0100 Subject: [PATCH] Update sagemaker.py --- application/llm/sagemaker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/llm/sagemaker.py b/application/llm/sagemaker.py index ed5fc675..84ae09ad 100644 --- a/application/llm/sagemaker.py +++ b/application/llm/sagemaker.py @@ -64,9 +64,9 @@ class SagemakerAPILLM(BaseLLM): import boto3 runtime = boto3.client( 'runtime.sagemaker', - aws_access_key_id=settings.SAGEMAKER_ACCESS_KEY, - aws_secret_access_key=settings.SAGEMAKER_SECRET_KEY, - region_name=settings.SAGEMAKER_REGION + aws_access_key_id='xxx', + aws_secret_access_key='xxx', + region_name='us-west-2' )