Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def find(query):
|
|
35 |
i = 0
|
36 |
while i<6:
|
37 |
result = sorted_quran.iloc[i]
|
38 |
-
result_quran = quran.loc[(quran['sura']==result['sura']) & (
|
39 |
results = results + result_quran['text']+" (Q.S "+str(result['sura'])+":"+str(result['aya'])+")\n"
|
40 |
i=i+1
|
41 |
|
|
|
35 |
i = 0
|
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']+" (Q.S "+str(result['sura'])+":"+str(result['aya'])+")\n"
|
40 |
i=i+1
|
41 |
|