Spaces:
Runtime error
Runtime error
Roland Ding commited on
Commit ·
266be76
1
Parent(s): c27e51c
3.3.12.35 added region_name in client in cloud_db.py for resolving huggingface space build error.
Browse files- cloud_db.py +2 -1
cloud_db.py
CHANGED
|
@@ -6,7 +6,8 @@ from utility import *
|
|
| 6 |
db_client = boto3.client(
|
| 7 |
"dynamodb",
|
| 8 |
aws_access_key_id = aws_access_key_id,
|
| 9 |
-
aws_secret_access_key = aws_secret_access_key
|
|
|
|
| 10 |
)
|
| 11 |
|
| 12 |
'''
|
|
|
|
| 6 |
db_client = boto3.client(
|
| 7 |
"dynamodb",
|
| 8 |
aws_access_key_id = aws_access_key_id,
|
| 9 |
+
aws_secret_access_key = aws_secret_access_key,
|
| 10 |
+
region_name = "us-east-1"
|
| 11 |
)
|
| 12 |
|
| 13 |
'''
|