RoAr777 commited on
Commit
07a35af
·
verified ·
1 Parent(s): ac5c8f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -407,7 +407,7 @@ def chatbot_response(history,query):
407
  message = HumanMessage(content=[{"type": "text", "text": query}])
408
 
409
  # Invoke the model with the multimodal message
410
- result = agent.invoke({'input':message.content},handle_parsing_errors=True)
411
  response = result['output']
412
  intermediate_steps = result.get('intermediate_steps', [])
413
 
 
407
  message = HumanMessage(content=[{"type": "text", "text": query}])
408
 
409
  # Invoke the model with the multimodal message
410
+ result = agent.invoke([message],handle_parsing_errors=True)
411
  response = result['output']
412
  intermediate_steps = result.get('intermediate_steps', [])
413