Skip to content

Commit 673fe2e

Browse files
committed
fix path
1 parent 4206c3f commit 673fe2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/application.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
version = importlib.metadata.version("mc-intent-classifier")
1313

14-
15-
DATA_PATH = Path("/src/data")
14+
dirname = os.path.dirname(__file__)
15+
DATA_PATH = Path(f"{dirname}/data")
1616
OUTPUT_FILE_PATH = DATA_PATH / "new_test_intent_embeddings.json"
1717

1818
app = Flask(__name__)

0 commit comments

Comments
 (0)