kdallash commited on
Commit
d7685b4
·
verified ·
1 Parent(s): 04392c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -74,10 +74,10 @@ def search_hadith(query, top_k):
74
  top_k=int(top_k)
75
  )
76
 
77
- return results_df[["main_subj", "clean_text", "url"]] \
78
  .rename(columns={
79
  "main_subj": "الموضوع",
80
- "clean_text": "نص الحديث",
81
  "url": "hadith page on Islamweb.net"
82
  })
83
  except Exception as e:
 
74
  top_k=int(top_k)
75
  )
76
 
77
+ return results_df[["main_subj", "matn_text", "url"]] \
78
  .rename(columns={
79
  "main_subj": "الموضوع",
80
+ "matn_text": "نص الحديث",
81
  "url": "hadith page on Islamweb.net"
82
  })
83
  except Exception as e: