prasadnu commited on
Commit
f8811da
·
1 Parent(s): fc082cd

added print logs

Browse files
Files changed (1) hide show
  1. utilities/invoke_models.py +3 -3
utilities/invoke_models.py CHANGED
@@ -7,7 +7,7 @@ from langchain_experimental.agents.agent_toolkits import create_pandas_dataframe
7
  #from langchain_core.prompts import ChatPromptTemplate
8
  from langchain_community.chat_models import BedrockChat
9
  import streamlit as st
10
- import threading
11
  #from transformers import VisionEncoderDecoderModel, ViTImageProcessor, AutoTokenizer
12
  #import torch
13
 
@@ -16,8 +16,8 @@ region = 'us-east-1'
16
  def get_bedrock_client():
17
  return boto3.client(
18
  'bedrock-runtime',
19
- aws_access_key_id=st.secrets['user_access_key'],
20
- aws_secret_access_key=st.secrets['user_secret_key'], region_name = 'us-east-1'
21
  )
22
 
23
 
 
7
  #from langchain_core.prompts import ChatPromptTemplate
8
  from langchain_community.chat_models import BedrockChat
9
  import streamlit as st
10
+
11
  #from transformers import VisionEncoderDecoderModel, ViTImageProcessor, AutoTokenizer
12
  #import torch
13
 
 
16
  def get_bedrock_client():
17
  return boto3.client(
18
  'bedrock-runtime',
19
+ aws_access_key_id=st.secrets['user_access_key_us_west_2'],
20
+ aws_secret_access_key=st.secrets['user_secret_key_us_west_2'], region_name = 'us-west-2'
21
  )
22
 
23