Bofandra commited on
Commit
a8bd281
·
verified ·
1 Parent(s): 2181d96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def find(query):
58
  url = 'https://sunnah.com/'+results['source_cat'].astype(str)+':'+results['hadith_no'].astype(str)
59
  results['text_ar'] = '<a href="'+url+'">'+results['text_ar']+'</a>'
60
  results = results.drop(columns=['source_cat'])
61
- results['source'] = results['source'] + "(chapter " + str(results['chapter_no']) + " , hadith " + str(results['hadith_no']) + ")"
62
  results = results.drop(columns=['chapter_no', 'hadith_no', 'chapter'])
63
 
64
  #return sorted_quran
 
58
  url = 'https://sunnah.com/'+results['source_cat'].astype(str)+':'+results['hadith_no'].astype(str)
59
  results['text_ar'] = '<a href="'+url+'">'+results['text_ar']+'</a>'
60
  results = results.drop(columns=['source_cat'])
61
+ results['source'] = results['source'] + "(chapter " + results['chapter_no'].astype(str) + " , hadith " + results['hadith_no'].astype(str) + ")"
62
  results = results.drop(columns=['chapter_no', 'hadith_no', 'chapter'])
63
 
64
  #return sorted_quran