Ritesh-hf commited on
Commit
1d11079
·
verified ·
1 Parent(s): bba77f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -689,7 +689,7 @@ def handle_message(data):
689
  'input': message,
690
  'context': json.dumps(CURR_CONTEXT)
691
  }
692
- response = json_answer_generator(formated_input, session_id=session_id)
693
  emit('response', response, room=session_id)
694
  elif task == "recommendation":
695
  response = recommendation_node(message)
 
689
  'input': message,
690
  'context': json.dumps(CURR_CONTEXT)
691
  }
692
+ response = json_answer_generator(message, CURR_CONTEXT)
693
  emit('response', response, room=session_id)
694
  elif task == "recommendation":
695
  response = recommendation_node(message)