DurgaDeepak commited on
Commit
e9e2666
·
verified ·
1 Parent(s): 8255670

Update chatbot_logic.py

Browse files
Files changed (1) hide show
  1. chatbot_logic.py +4 -4
chatbot_logic.py CHANGED
@@ -39,7 +39,7 @@ def get_bot_response(query):
39
  try:
40
  result = qa_chain.invoke({"query": query})
41
  if not result:
42
- return "🤖 Sorry, I couldn't find anything relevant in the meal plans."
43
- return result
44
- except Exception as e:
45
- return f"❌ Failed to process your query: {e}"
 
39
  try:
40
  result = qa_chain.invoke({"query": query})
41
  if not result:
42
+ return "🤖 Sorry, I couldn't find anything relevant in the meal plans."
43
+ return result
44
+ except Exception as e:
45
+ return f"❌ Failed to process your query: {e}"