Skip to content

Commit ee3216e

Browse files
update commit
1 parent 6ec61b3 commit ee3216e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/aqua/common/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ def get_model_by_reference_paths(model_file_description: dict):
669669
models = model_file_description["models"]
670670

671671
if models:
672-
if len(models) == 1:
672+
if len(models) > 0:
673673
base_model_artifact = models[0]
674674
base_model_path = f"oci://{base_model_artifact['bucketName']}@{base_model_artifact['namespace']}/{base_model_artifact['prefix']}".rstrip(
675675
"/"

0 commit comments

Comments
 (0)