cools commited on
Commit
69e2787
·
1 Parent(s): fc43be0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -19,14 +19,13 @@ aws_secret_key = os.getenv("aws_secret_key")
19
  # Display the cases
20
 
21
 
22
- s3 = boto3.client('s3')
23
- s3.download_file('gidon-corpis', 'OBJECT_NAME', 'FILE_NAME')
24
 
25
 
26
 
27
  st.set_page_config(layout="wide")
28
 
29
 
 
30
  def get_subdirectories(prefix):
31
  subdirectories = set()
32
  paginator = s3.get_paginator('list_objects_v2')
 
19
  # Display the cases
20
 
21
 
 
 
22
 
23
 
24
 
25
  st.set_page_config(layout="wide")
26
 
27
 
28
+ s3 = boto3.client('s3', aws_access_key_id=aws_access_key, aws_secret_access_key=aws_secret_key)
29
  def get_subdirectories(prefix):
30
  subdirectories = set()
31
  paginator = s3.get_paginator('list_objects_v2')