Skip to content

Commit 3e0b7ec

Browse files
committed
CU-8699049kf: Fix typo in Vocab load path
1 parent 595f30d commit 3e0b7ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

medcat/1_create_model/create_modelpack/create_modelpack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def load_cdb_and_save_modelpack(cdb_path: str,
6464
vocab = deserialise(vocab_path)
6565
except NotADirectoryError:
6666
from medcat.utils.legacy.convert_vocab import get_vocab_from_old
67-
vocab = get_vocab_from_old(cdb_path)
67+
vocab = get_vocab_from_old(vocab_path)
6868

6969
# Initialise the model
7070
cat = CAT(cdb=cdb, config=cdb.config, vocab=vocab)

0 commit comments

Comments
 (0)