Update src/reranking/bm25_sentences.py

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