Skip to content

Commit

Permalink
Addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar-shivam-ranjan committed Feb 5, 2025
1 parent e449f0a commit ef2c40e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ads/aqua/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,11 @@ def get_config(
f"Base model found for the model: {oci_model.id}. "
f"Loading {config_file_name} for base model {base_model_ocid}."
)
base_model = self.ds_client.get_model(base_model_ocid).data
artifact_path = get_artifact_path(base_model.custom_metadata_list)
if config_folder == ConfigFolder.ARTIFACT:
artifact_path = get_artifact_path(oci_model.custom_metadata_list)
else:
base_model = self.ds_client.get_model(base_model_ocid).data
artifact_path = get_artifact_path(base_model.custom_metadata_list)
else:
logger.info(f"Loading {config_file_name} for model {oci_model.id}...")
artifact_path = get_artifact_path(oci_model.custom_metadata_list)
Expand Down

0 comments on commit ef2c40e

Please sign in to comment.