Spaces:
Sleeping
Sleeping
update invalid input check
Browse files- chatbot_simulator.py +1 -0
chatbot_simulator.py
CHANGED
@@ -25,6 +25,7 @@ class ChatbotSimulation:
|
|
25 |
self.user_state = dict()
|
26 |
self.user_state['current_page'] = self.sitemap['pages'][0]['id'] # Initialize current page
|
27 |
self.user_state['task_completed'] = 'False'
|
|
|
28 |
self.user_state['back'] = 'False'
|
29 |
|
30 |
self.log_location = log_location
|
|
|
25 |
self.user_state = dict()
|
26 |
self.user_state['current_page'] = self.sitemap['pages'][0]['id'] # Initialize current page
|
27 |
self.user_state['task_completed'] = 'False'
|
28 |
+
self.user_state['logged_in'] = 'False'
|
29 |
self.user_state['back'] = 'False'
|
30 |
|
31 |
self.log_location = log_location
|