Spaces:
Running
Running
hatmanstack
commited on
Commit
·
9781d82
1
Parent(s):
bd05777
added int
Browse files- generate.py +1 -1
generate.py
CHANGED
@@ -32,7 +32,7 @@ def handle_bedrock_errors(func):
|
|
32 |
|
33 |
aws_id = os.getenv('AWS_ID')
|
34 |
aws_secret = os.getenv('AWS_SECRET')
|
35 |
-
rate_limit = os.getenv('RATE_LIMIT')
|
36 |
nova_image_bucket='nova-image-data'
|
37 |
bucket_region='us-west-2'
|
38 |
rate_limit_message = """<div style='text-align: center;'>Rate limit exceeded. Check back later, use the
|
|
|
32 |
|
33 |
aws_id = os.getenv('AWS_ID')
|
34 |
aws_secret = os.getenv('AWS_SECRET')
|
35 |
+
rate_limit = int(os.getenv('RATE_LIMIT'))
|
36 |
nova_image_bucket='nova-image-data'
|
37 |
bucket_region='us-west-2'
|
38 |
rate_limit_message = """<div style='text-align: center;'>Rate limit exceeded. Check back later, use the
|