Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -26,13 +26,16 @@ def make_call(api):
|
|
26 |
print(f"API call failed for key {api_key}: {e}")
|
27 |
return None # Indicate failur
|
28 |
|
29 |
-
|
30 |
-
api1 = os.environ.get("GROQ_API_KEY"),
|
31 |
# api1 = os.environ.get("GROQ_API_KEY"),
|
32 |
# api1 = os.environ.get("GROQ_API_KEY"),
|
33 |
# api1 = os.environ.get("GROQ_API_KEY"),
|
34 |
# api1 = os.environ.get("GROQ_API_KEY"),
|
35 |
# api1 = os.environ.get("GROQ_API_KEY"),
|
|
|
|
|
|
|
|
|
36 |
]
|
37 |
|
38 |
# Loop indefinitely
|
|
|
26 |
print(f"API call failed for key {api_key}: {e}")
|
27 |
return None # Indicate failur
|
28 |
|
29 |
+
api1 = os.environ.get("GROQ_API_KEY"),
|
|
|
30 |
# api1 = os.environ.get("GROQ_API_KEY"),
|
31 |
# api1 = os.environ.get("GROQ_API_KEY"),
|
32 |
# api1 = os.environ.get("GROQ_API_KEY"),
|
33 |
# api1 = os.environ.get("GROQ_API_KEY"),
|
34 |
# api1 = os.environ.get("GROQ_API_KEY"),
|
35 |
+
|
36 |
+
apis = [
|
37 |
+
api1,
|
38 |
+
# api1,
|
39 |
]
|
40 |
|
41 |
# Loop indefinitely
|