HarryHe commited on
Commit
0764c43
1 Parent(s): 7f83bdd

Update src/reranking/bm25_sentences.py

Browse files
Files changed (1) hide show
  1. src/reranking/bm25_sentences.py +1 -1
src/reranking/bm25_sentences.py CHANGED
@@ -115,4 +115,4 @@ if __name__ == "__main__":
115
  }
116
  output_json.write(json.dumps(json_data, ensure_ascii=False) + "\n")
117
  done += 1
118
- output_file.flush()
 
115
  }
116
  output_json.write(json.dumps(json_data, ensure_ascii=False) + "\n")
117
  done += 1
118
+ output_json.flush()