Skip to content

Commit 647f0a2

Browse files
committed
fix test
1 parent 12f3c3d commit 647f0a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_model/test_endpoint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import boto3
66

77
AWS_REGION = "us-east-1"
8-
ENVIRONMENT = os.environ.get("ENV", "dev")
9-
ENDPOINT_NAME = f"{ENVIRONMENT}-multilingual-sentiment-analysis-endpoint"
8+
ENV = os.environ.get("ENVIRONMENT", "dev")
9+
ENDPOINT_NAME = f"{ENV}-multilingual-sentiment-analysis-endpoint"
1010

1111
sagemaker_runtime = boto3.client("sagemaker-runtime", region_name=AWS_REGION)
1212

0 commit comments

Comments
 (0)