NexAddo commited on
Commit
5531636
1 Parent(s): 631e7f0

Update hackaprompt/evaluator.py

Browse files
Files changed (1) hide show
  1. hackaprompt/evaluator.py +1 -1
hackaprompt/evaluator.py CHANGED
@@ -95,7 +95,7 @@ class LevelEvaluator:
95
  error=False,
96
  score=score,
97
  )
98
- except openai.AuthenticationError:
99
  return Response(
100
  model=self.completer.model,
101
  level=self.level,
 
95
  error=False,
96
  score=score,
97
  )
98
+ except openai.Error.AuthenticationError:
99
  return Response(
100
  model=self.completer.model,
101
  level=self.level,