Rakshitjan commited on
Commit
3123939
·
verified ·
1 Parent(s): c0fc1ed

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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 api_key:
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)