diff --git a/instill/resources/const.py b/instill/resources/const.py index 34d92f4..62af1dc 100644 --- a/instill/resources/const.py +++ b/instill/resources/const.py @@ -1,3 +1,5 @@ +import os + INSTILL_MODEL_INTERNAL_MODEL = "Internal Mode" INSTILL_MODEL_EXTERNAL_MODEL = "External Mode" -SPEC_PATH = "instill/resources/schema/jsons" +SPEC_PATH = f"{os.path.dirname(__file__)}/schema/jsons"