Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -143,9 +143,9 @@ def answer_bot(message,history,audience):
|
|
143 |
elif audience == "General public":
|
144 |
audience_prompt = audience_prompts["general"]
|
145 |
elif audience == "Experts":
|
146 |
-
audience_prompt = audience_prompts["
|
147 |
else:
|
148 |
-
audience_prompt = audience_prompts["
|
149 |
|
150 |
# history_langchain_format = []
|
151 |
# for human, ai in history:
|
|
|
143 |
elif audience == "General public":
|
144 |
audience_prompt = audience_prompts["general"]
|
145 |
elif audience == "Experts":
|
146 |
+
audience_prompt = audience_prompts["experts"]
|
147 |
else:
|
148 |
+
audience_prompt = audience_prompts["experts"]
|
149 |
|
150 |
# history_langchain_format = []
|
151 |
# for human, ai in history:
|