diff --git a/mim/commands/search.py b/mim/commands/search.py index e5a869e..f908602 100644 --- a/mim/commands/search.py +++ b/mim/commands/search.py @@ -336,7 +336,7 @@ def _parse(data: dict) -> dict: if isinstance(value, str): parsed_data[name] = cast2lowercase(value) elif isinstance(value, (list, tuple)): - if isinstance(value[0], dict): + if value and isinstance(value[0], dict): # inference time is a list of dict like List[dict] # each item of inference time represents the environment # where it is tested