vibs08 commited on
Commit
2a94490
1 Parent(s): 214d622

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -17,6 +17,14 @@ import kiui
17
  from gradio_litmodel3d import LitModel3D
18
  import shutil
19
 
 
 
 
 
 
 
 
 
20
  def find_cuda():
21
  # Check if CUDA_HOME or CUDA_PATH environment variables are set
22
  cuda_home = os.environ.get('CUDA_HOME') or os.environ.get('CUDA_PATH')
 
17
  from gradio_litmodel3d import LitModel3D
18
  import shutil
19
 
20
+
21
+ ACCESS = os.getenv("ACCESS")
22
+ SECRET = os.getenv("SECRET")
23
+ bedrock = boto3.client(service_name='bedrock', aws_access_key_id = ACCESS, aws_secret_access_key = SECRET, region_name='us-east-1')
24
+ bedrock_runtime = boto3.client(service_name='bedrock-runtime', aws_access_key_id = ACCESS, aws_secret_access_key = SECRET, region_name='us-east-1')
25
+ s3_client = boto3.client('s3',aws_access_key_id = ACCESS, aws_secret_access_key = SECRET, region_name='us-east-1')
26
+
27
+
28
  def find_cuda():
29
  # Check if CUDA_HOME or CUDA_PATH environment variables are set
30
  cuda_home = os.environ.get('CUDA_HOME') or os.environ.get('CUDA_PATH')