Skip to content

Commit dceb3d8

Browse files
committed
Externalize model_name
1 parent bc4d7b0 commit dceb3d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/lambda-search/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
aos_host = environ['OS_ENDPOINT']
1616
sagemaker_endpoint = environ['SAGEMAKER_ENDPOINT']
1717
os_secret_id = environ['OS_SECRET_ID']
18-
model_name = 'minilm-knn'
18+
model_name = environ['MODEL_NAME']
1919

2020
def get_awsauth_from_secret(region, secret_id):
2121
"""

0 commit comments

Comments
 (0)