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 e9e3c1b commit 12f3c3dCopy full SHA for 12f3c3d
.gitignore
@@ -1,4 +1,6 @@
1
.DS_Store
2
3
.terraform/
4
-.terraform.lock.hcl
+.terraform.lock.hcl
5
+
6
+.mypy_cache/
test_model/test_endpoint.py
@@ -1,10 +1,12 @@
import json
+import os
import time
import boto3
7
AWS_REGION = "us-east-1"
-ENDPOINT_NAME = "prod-multilingual-sentiment-analysis-endpoint"
8
+ENVIRONMENT = os.environ.get("ENV", "dev")
9
+ENDPOINT_NAME = f"{ENVIRONMENT}-multilingual-sentiment-analysis-endpoint"
10
11
sagemaker_runtime = boto3.client("sagemaker-runtime", region_name=AWS_REGION)
12
0 commit comments