We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd1a073 commit fb5c340Copy full SHA for fb5c340
pkg/cortex/serve/cortex_internal/lib/model/type.py
@@ -159,7 +159,7 @@ def get_models_from_api_spec(
159
else:
160
return CuratedModelResources([])
161
162
- if not models_spec["path"] and len(models_spec["paths"]) == 0:
+ if not models_spec["path"] and not models_spec["paths"]:
163
164
165
# for models.path
0 commit comments