vibs08 commited on
Commit
1ad8408
·
verified ·
1 Parent(s): 010d2b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,8 +39,8 @@ model.renderer.set_chunk_size(131072)
39
  model.to(device)
40
 
41
  rembg_session = rembg.new_session()
42
- my_aws_access_key_id = os.getenv("ACCESS")
43
- my_aws_secret_access_key = os.getenv("SECRET")
44
  bedrock = boto3.client(service_name='bedrock', aws_access_key_id = ACCESS, aws_secret_access_key = SECRET, region_name='us-east-1')
45
  bedrock_runtime = boto3.client(service_name='bedrock-runtime', aws_access_key_id = ACCESS, aws_secret_access_key = SECRET, region_name='us-east-1')
46
  # def generate_image_from_text(pos_prompt):
 
39
  model.to(device)
40
 
41
  rembg_session = rembg.new_session()
42
+ ACCESS = os.getenv("ACCESS")
43
+ SECRET = os.getenv("SECRET")
44
  bedrock = boto3.client(service_name='bedrock', aws_access_key_id = ACCESS, aws_secret_access_key = SECRET, region_name='us-east-1')
45
  bedrock_runtime = boto3.client(service_name='bedrock-runtime', aws_access_key_id = ACCESS, aws_secret_access_key = SECRET, region_name='us-east-1')
46
  # def generate_image_from_text(pos_prompt):