From 40e349a434420caf3e9bf04eab52b2912dd2a59c Mon Sep 17 00:00:00 2001 From: Rabah Abdul Khalek Date: Fri, 8 Sep 2023 18:18:17 +0200 Subject: [PATCH] fixed path in github examples --- examples/github/train.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/github/train.py b/examples/github/train.py index 8270192..309d10e 100644 --- a/examples/github/train.py +++ b/examples/github/train.py @@ -1,7 +1,8 @@ import giskard import yaml -with open("cicd_config.yaml") as yaml_f: +path_to_config = __file__.split("train.py")[0]+"cicd_config.yaml" +with open(path_to_config) as yaml_f: cicd_config = yaml.load(yaml_f, Loader=yaml.Loader) # Replace this with your own data & model creation.