Bofandra commited on
Commit
135533a
·
verified ·
1 Parent(s): b64bcd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def find(query):
26
  file = open('quran-splitted.sav','rb')
27
  quran_splitted = pickle.load(file)
28
  quran_splitted['similarity'] = text_similarity
29
- sorted_quran = quran.sort_values(by='similarity', ascending=False)
30
 
31
  # insert the similarity value to dataframe & sort it
32
  quran = pd.read_csv('quran-simple-clean.txt', delimiter="|")
 
26
  file = open('quran-splitted.sav','rb')
27
  quran_splitted = pickle.load(file)
28
  quran_splitted['similarity'] = text_similarity
29
+ sorted_quran = quran_splitted.sort_values(by='similarity', ascending=False)
30
 
31
  # insert the similarity value to dataframe & sort it
32
  quran = pd.read_csv('quran-simple-clean.txt', delimiter="|")