Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -43,11 +43,11 @@ def find(query):
|
|
43 |
#results = ""
|
44 |
results = pd.DataFrame()
|
45 |
i = 0
|
46 |
-
while i<
|
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
|