Skip to content

Commit b88ab6c

Browse files
formatting
1 parent 5ae6716 commit b88ab6c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ads/aqua/extension/model_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def post(self, *args, **kwargs):
129129
download_from_hf = (
130130
str(input_data.get("download_from_hf", "false")).lower() == "true"
131131
)
132+
132133
return self.finish(
133134
AquaModelApp().register(
134135
model=model,

ads/aqua/model/model.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,7 @@ def _create_model_catalog_entry(
767767
}
768768
)
769769
tags.update({Tags.BASE_MODEL_CUSTOM: "true"})
770+
770771
if validation_result and validation_result.model_formats:
771772
tags.update(
772773
{
@@ -779,6 +780,7 @@ def _create_model_catalog_entry(
779780

780781
# Remove `ready_to_import` tag that might get copied from service model.
781782
tags.pop(Tags.READY_TO_IMPORT, None)
783+
782784
if verified_model:
783785
# Verified model is a model in the service catalog that either has no artifacts but contains all the necessary metadata for deploying and fine tuning.
784786
# If set, then we copy all the model metadata.

0 commit comments

Comments
 (0)