Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import asyncio
|
|
6 |
|
7 |
# Ensure you have the correct API URL for Groq and the key is set
|
8 |
GROQ_API_URL = "https://api.groq.com/v1/completions" # Replace with the actual endpoint if different
|
9 |
-
API_KEY = os.environ.get("
|
10 |
|
11 |
if not API_KEY:
|
12 |
raise ValueError("API key is missing. Make sure to set the GROQ_API_KEY environment variable.")
|
|
|
6 |
|
7 |
# Ensure you have the correct API URL for Groq and the key is set
|
8 |
GROQ_API_URL = "https://api.groq.com/v1/completions" # Replace with the actual endpoint if different
|
9 |
+
API_KEY = os.environ.get("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")
|
10 |
|
11 |
if not API_KEY:
|
12 |
raise ValueError("API key is missing. Make sure to set the GROQ_API_KEY environment variable.")
|