1 file changed
@@ -1,3 +1,4 @@ | |||
| 1 | + import os.path | ||
| 1 | 2 | import subprocess | |
| 2 | 3 | from datetime import datetime | |
| 3 | 4 | ||
@@ -8,7 +9,7 @@ | |||
| 8 | 9 | ||
| 9 | 10 | ||
| 10 | 11 | def run_demo(): | |
| 11 | - store = FeatureStore(repo_path=".") | ||
| 12 | + store = FeatureStore(repo_path=os.path.dirname(__file__)) | ||
| 12 | 13 | print("\n--- Run feast apply to setup feature store on Postgres ---") | |
| 13 | 14 | subprocess.run(["feast", "apply"]) | |
| 14 | 15 | ||
0 commit comments