Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
11 |
-
AWS_SECRET_ACCESS_KEY =
|
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,
|