harpreetsahota commited on
Commit
ab88143
1 Parent(s): bdbaeaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -252,7 +252,7 @@ def respond(message, chat_history):
252
  bot_message = "Chatbot initialized! How can I help you?"
253
  else:
254
  if chatbot_instance:
255
- bot_message = chat(message, chatbot_instance)
256
  else:
257
  bot_message = "Please provide a URL to initialize the chatbot first."
258
 
 
252
  bot_message = "Chatbot initialized! How can I help you?"
253
  else:
254
  if chatbot_instance:
255
+ bot_message = chat(chatbot_instance, message)
256
  else:
257
  bot_message = "Please provide a URL to initialize the chatbot first."
258