Julien Simon commited on
Commit
ea11adf
1 Parent(s): 8a496a8

Replace deprecated append() with concat()

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def find_sentences(query, hits):
70
  "Text": corpus[corpus_id][:80],
71
  "Score": "{:.2f}".format(hit["score"]),
72
  }
73
- output = pd.concat([output, pd.DataFrame([new_row])], ignore_index=True)
74
  break
75
  return output
76
 
 
70
  "Text": corpus[corpus_id][:80],
71
  "Score": "{:.2f}".format(hit["score"]),
72
  }
73
+ output = pd.concat([output, pd.DataFrame([new_row])], ignore_index=True)
74
  break
75
  return output
76