Spaces:
Runtime error
Runtime error
harpreetsahota
commited on
Commit
•
ab88143
1
Parent(s):
bdbaeaa
Update app.py
Browse files
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(
|
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 |
|