Spaces:
Running
Running
Update hackaprompt/evaluator.py
Browse files- 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,
|