akhooli commited on
Commit
1379df3
·
verified ·
1 Parent(s): 7f0e044

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -14,9 +14,9 @@ import gradio as gr
14
 
15
  def process_results(results):
16
  answer = ""
17
- for r in results:
18
- answer += f"Sura: {r['document_id']} ({r['document_metadata']}) \n Text:{r['content']}\n\n"
19
- return answer
20
 
21
  k = 3 # How many documents you want to retrieve
22
 
 
14
 
15
  def process_results(results):
16
  answer = ""
17
+ for r in results:
18
+ answer += f"Sura: {r['document_id']} ({r['document_metadata']}) \n Text:{r['content']}\n\n"
19
+ return answer
20
 
21
  k = 3 # How many documents you want to retrieve
22