chenxwh HarryHe commited on
Commit
9d178a5
1 Parent(s): f36b7f2

Update src/reranking/bm25_sentences.py (#5)

Browse files

- Update src/reranking/bm25_sentences.py (0764c43472622a9d52b2796b3708fac0008ab7dd)


Co-authored-by: HarryHe11 <HarryHe@users.noreply.huggingface.co>

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()