pranked03 commited on
Commit
e6720c8
1 Parent(s): 6cb7011

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -7,9 +7,8 @@ from streamlit_autorefresh import st_autorefresh
7
  import requests
8
  from all_funcs import *
9
  from create_table import *
10
- AWS_ACCESS_KEY_ID = 'AKIA4WLULVFKDGROP37L'
11
- AWS_SECRET_ACCESS_KEY = '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'
12
-
13
  s3 = boto3.client("s3",
14
  region_name='ap-south-1',
15
  aws_access_key_id=AWS_ACCESS_KEY_ID,
 
7
  import requests
8
  from all_funcs import *
9
  from create_table import *
10
+ AWS_ACCESS_KEY_ID = st.secrets["AWS_ACCESS_KEY"]
11
+ AWS_SECRET_ACCESS_KEY = st.secrets["AWS_SECRET_ACCESS_KEY"]
 
12
  s3 = boto3.client("s3",
13
  region_name='ap-south-1',
14
  aws_access_key_id=AWS_ACCESS_KEY_ID,