ysr commited on
Commit
a52d424
1 Parent(s): bedd1fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def query_pinecone(query, top_k):
29
 
30
  def format_search_result(result):
31
  data = result['metadata']
32
- message = f"Ayah no: {data['ayah']}\nSurah no: {data['sorah']}\nSentence:{data['arabic-text']}\nTranslation: {data['en-translation']}\n Tafsir:{data['en-tafsir-mokhtasar']}\n Relevant Tafsir: {data['vector-chunk']}"
33
 
34
  return message
35
 
 
29
 
30
  def format_search_result(result):
31
  data = result['metadata']
32
+ message = f"Ayah no: {data['ayah']}\nSurah no: {data['surah']}\nSentence:{data['arabic-text']}\nTranslation: {data['en-translation']}\n Tafsir:{data['en-tafsir-mokhtasar']}\n Relevant Tafsir: {data['vector-chunk']}"
33
 
34
  return message
35