Bofandra commited on
Commit
6d63854
·
verified ·
1 Parent(s): bd20ec6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def find(query):
36
  while i<6:
37
  result = sorted_quran.iloc[i]
38
  result_quran = quran.loc[(quran['sura']==result['sura']) & (quran['aya']==result['aya'])]
39
- results = results + result_quran['text'].item()+" (Q.S "+str(result['sura'])+":"+str(result['aya'])+")\n"
40
  i=i+1
41
 
42
  return results
 
36
  while i<6:
37
  result = sorted_quran.iloc[i]
38
  result_quran = quran.loc[(quran['sura']==result['sura']) & (quran['aya']==result['aya'])]
39
+ results = results + result_quran['text'].item()+" (Q.S "+str(result['sura']).rstrip('.0')+":"+str(result['aya']).rstrip('.0')+")\n"
40
  i=i+1
41
 
42
  return results