yurasolokha commited on
Commit
2ff2730
·
verified ·
1 Parent(s): 6c2abce

Updated amazon_model_id

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -13,7 +13,9 @@ aws_secret_key = os.getenv('AWS_SECRET_ACCESS_KEY')
13
  region = os.getenv('AWS_REGION')
14
  initial_message = os.getenv('INITIAL_MESSAGE')
15
 
16
- amazon_model_id = "amazon.titan-text-premier-v1:0"
 
 
17
 
18
  bedrock_config = Config(connect_timeout=120, read_timeout=120, retries={'max_attempts': 0})
19
  bedrock_client = boto3.client(
 
13
  region = os.getenv('AWS_REGION')
14
  initial_message = os.getenv('INITIAL_MESSAGE')
15
 
16
+ # "amazon.titan-text-express-v1"
17
+ # "amazon.titan-text-premier-v1:0"
18
+ amazon_model_id = "amazon.titan-text-express-v1"
19
 
20
  bedrock_config = Config(connect_timeout=120, read_timeout=120, retries={'max_attempts': 0})
21
  bedrock_client = boto3.client(