Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -274,7 +274,7 @@ async def analyze_scores(input_data: ScoreInput):
|
|
| 274 |
|
| 275 |
# Groq API call
|
| 276 |
api_key2 = os.getenv("GROQ_API_KEY")
|
| 277 |
-
if not
|
| 278 |
raise HTTPException(status_code=500, detail="Groq API key not found")
|
| 279 |
|
| 280 |
client2 = Groq(api_key=api_key2)
|
|
|
|
| 274 |
|
| 275 |
# Groq API call
|
| 276 |
api_key2 = os.getenv("GROQ_API_KEY")
|
| 277 |
+
if not api_key2:
|
| 278 |
raise HTTPException(status_code=500, detail="Groq API key not found")
|
| 279 |
|
| 280 |
client2 = Groq(api_key=api_key2)
|