SaladSlayer00 commited on
Commit
c463c33
1 Parent(s): 9e0f5c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -3,10 +3,13 @@ import cv2
3
  import os
4
  import boto3
5
 
 
 
 
6
  s3_client = boto3.client(
7
  's3',
8
- aws_access_key_id='AWS_ACCESS_KEY_ID',
9
- aws_secret_access_key='CKxcJhYPNQHBmnVKrcK6wjxD3QV0gdj7HvVw7JWl',
10
  region_name='eu-central-1'
11
  )
12
 
 
3
  import os
4
  import boto3
5
 
6
+ aws_access_key_id = os.getenv('AWS_ACCESS_KEY_ID')
7
+ aws_secret_access_key = os.getenv('AWS_SECRET_ACCESS_KEY')
8
+
9
  s3_client = boto3.client(
10
  's3',
11
+ aws_access_key_id= aws_access_key_id,
12
+ aws_secret_access_key= aws_secret_access_key,
13
  region_name='eu-central-1'
14
  )
15