Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ safety_settings = [
|
|
45 |
|
46 |
class APIKeyManager:
|
47 |
def __init__(self):
|
48 |
-
self.api_keys = os.environ.get('
|
49 |
self.current_index = 0
|
50 |
|
51 |
def get_available_key(self):
|
|
|
45 |
|
46 |
class APIKeyManager:
|
47 |
def __init__(self):
|
48 |
+
self.api_keys = os.environ.get('KeyArray').split(',')
|
49 |
self.current_index = 0
|
50 |
|
51 |
def get_available_key(self):
|