diff --git a/examples/slu/speech_intent_slot/eval_utils/evaluator.py b/examples/slu/speech_intent_slot/eval_utils/evaluator.py index 7475e9fc48ed..e56711edf215 100644 --- a/examples/slu/speech_intent_slot/eval_utils/evaluator.py +++ b/examples/slu/speech_intent_slot/eval_utils/evaluator.py @@ -42,7 +42,7 @@ def parse_semantics_str2dict(semantics_str: Union[List[str], str, Dict]) -> Tupl "entities": [], } invalid = True - except SyntaxError: # need this if the output is not a valid dict + except Exception: # need this if the output is not a valid dict _dict = { "scenario": "none", "action": "none",