Skip to content

Commit 314d819

Browse files
authored
Update deployment_handler.py
1 parent e3839f9 commit 314d819

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ads/aqua/extension/deployment_handler.py

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def get(self, id: Union[str, List[str]] = None):
5151
f"Invalid request format for {self.request.path}. "
5252
"Expected a single model ID or a comma-separated list of model IDs.",
5353
)
54+
id = id.replace(" ", "")
5455
return self.get_deployment_config(
5556
model_id=id.split(",") if "," in id else id
5657
)

0 commit comments

Comments
 (0)