Skip to content

Commit

Permalink
fix(resources): fix resource schema path (#76)
Browse files Browse the repository at this point in the history
Because

- resource schema files cannot be referenced with wrong path

This commit

- fix resource schema path
  • Loading branch information
heiruwu authored Jan 8, 2024
1 parent 0c47e51 commit 25f4418
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion instill/resources/const.py
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 25f4418

Please sign in to comment.