Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -274,6 +274,9 @@ def count_conversation_turns(history):
|
|
274 |
|
275 |
# Chatbot logic
|
276 |
def sysml_chatbot(message, history):
|
|
|
|
|
|
|
277 |
chat_messages = convert_history_to_messages(history)
|
278 |
|
279 |
# Count current conversation turns for smart question timing
|
|
|
274 |
|
275 |
# Chatbot logic
|
276 |
def sysml_chatbot(message, history):
|
277 |
+
if message == "":
|
278 |
+
print("Can I help you with anything else?")
|
279 |
+
|
280 |
chat_messages = convert_history_to_messages(history)
|
281 |
|
282 |
# Count current conversation turns for smart question timing
|