Skip to content

Commit 476b589

Browse files
update fix
1 parent b9ad4f2 commit 476b589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/aqua/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def get_config(self, model_id: str, config_file_name: str) -> Dict:
305305
except:
306306
# todo: temp fix for issue related to config load for byom models, update logic to choose the right path
307307
try:
308-
config_path = f"{artifact_path}/config/"
308+
config_path = f"{artifact_path.rstrip('/')}/config/"
309309
config = load_config(
310310
config_path,
311311
config_file_name=config_file_name,

0 commit comments

Comments
 (0)