Skip to content

Commit

Permalink
Shutdown LDA logging before return
Browse files Browse the repository at this point in the history
  • Loading branch information
severinsimmler committed Jun 3, 2018
1 parent f51929a commit 28c67e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/modeling.py
Expand Up @@ -28,6 +28,7 @@ def lda_modeling(document_term_arr, n_topics, n_iter, tempdir):
model.fit(document_term_arr)
with open(filepath, "a", encoding="utf-8") as f:
f.write("DONE")
logging.shutdown()
return model


Expand Down

0 comments on commit 28c67e6

Please sign in to comment.