Bofandra commited on
Commit
7a295b0
·
verified ·
1 Parent(s): f58a83a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def find(query):
51
  sorted_hadiths = hadiths.sort_values(by='similarity', ascending=False)
52
  print("cekpoin3\n")
53
 
54
- results = sorted_hadiths.head(3).drop(columns=['id', 'hadith_id', 'chain_indx'])
55
  results['source_cat'] = results['source'].apply(categorize_source)
56
  results['hadith_no'] = results['hadith_no'].str.strip()
57
 
 
51
  sorted_hadiths = hadiths.sort_values(by='similarity', ascending=False)
52
  print("cekpoin3\n")
53
 
54
+ results = sorted_hadiths.head(20).drop(columns=['id', 'hadith_id', 'chain_indx'])
55
  results['source_cat'] = results['source'].apply(categorize_source)
56
  results['hadith_no'] = results['hadith_no'].str.strip()
57