Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -168,7 +168,7 @@ def list_s3_files():
|
|
168 |
if check_if_exist(S3_BUCKET_NAME, s3audio):
|
169 |
print('Audio %s already exists!' % s3audio)
|
170 |
else:
|
171 |
-
response = s3_client.get_object(Bucket=
|
172 |
content = response['Body'].read().decode('utf-8')
|
173 |
|
174 |
print("CONTENT ----------------->")
|
|
|
168 |
if check_if_exist(S3_BUCKET_NAME, s3audio):
|
169 |
print('Audio %s already exists!' % s3audio)
|
170 |
else:
|
171 |
+
response = s3_client.get_object(Bucket=S3_BUCKET_NAME, Key=key)
|
172 |
content = response['Body'].read().decode('utf-8')
|
173 |
|
174 |
print("CONTENT ----------------->")
|