Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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"]
|