ppsingh commited on
Commit
6fb73c4
1 Parent(s): 621f9e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -15,6 +15,10 @@ async def chat(query,history,audience,sources,reports):
15
  (messages in gradio format, messages in langchain format, source documents)"""
16
 
17
  print(f">> NEW QUESTION : {query}")
 
 
 
 
18
 
19
  if audience == "Children":
20
  audience_prompt = audience_prompts["children"]
 
15
  (messages in gradio format, messages in langchain format, source documents)"""
16
 
17
  print(f">> NEW QUESTION : {query}")
18
+ print(f"history:{history}")
19
+ print(f"audience:{audience}")
20
+ print(f"sources:{sources}")
21
+ print(f"reports:{reports}")
22
 
23
  if audience == "Children":
24
  audience_prompt = audience_prompts["children"]