Bofandra commited on
Commit
908d90a
·
verified ·
1 Parent(s): cb45e4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,11 +43,11 @@ def find(query):
43
  #results = ""
44
  results = pd.DataFrame()
45
  i = 0
46
- while i<6:
47
  result = sorted_quran.iloc[i]
48
  result_quran = quran.loc[(quran['sura']==result['sura']) & (quran['aya']==result['aya'])]
49
  results = pd.concat([results, result_quran])
50
- results = results + result_quran['text'].item()+" (Q.S "+str(result['sura']).rstrip('.0')+":"+str(result['aya']).rstrip('.0')+")\n"
51
  i=i+1
52
 
53
  #return sorted_quran
 
43
  #results = ""
44
  results = pd.DataFrame()
45
  i = 0
46
+ while i<20:
47
  result = sorted_quran.iloc[i]
48
  result_quran = quran.loc[(quran['sura']==result['sura']) & (quran['aya']==result['aya'])]
49
  results = pd.concat([results, result_quran])
50
+ #results = results + result_quran['text'].item()+" (Q.S "+str(result['sura']).rstrip('.0')+":"+str(result['aya']).rstrip('.0')+")\n"
51
  i=i+1
52
 
53
  #return sorted_quran