Skip to content

Commit

Permalink
removed debug code on genmodel.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ryogrid committed Nov 7, 2024
1 parent e81c0f1 commit 3a5270c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions genmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ def main(arg_str: list[str]) -> None:
processed_docs_for_bm25: List[List[str]] = copy.deepcopy(processed_docs)
tagged_docs: List[TaggedDocument] = tmp_tuple[1]

if args.update is None or args.update is False:
exit(1)

if args.update:
with open('doc2vec_dictionary', 'rb') as f:
dictionary: corpora.Dictionary = pickle.load(f)
Expand Down

0 comments on commit 3a5270c

Please sign in to comment.