ECUiVADE commited on
Commit
31cb1e9
1 Parent(s): 7e2c444

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -188,9 +188,10 @@ class ChatbotAPP:
188
  return self.chat_history
189
 
190
  else:
 
191
  output = "Did you forget to Agree to the Terms and Conditions?"
192
- self.chat_history.append((prompt,output))
193
- return self.chat_history
194
 
195
  def update_chatlog_name(self):
196
  self.chat_log_name = f'chat_log_for_{self.unique_id}_{datetime.now().strftime("%Y-%m-%d_%H-%M-%S")}.json'
 
188
  return self.chat_history
189
 
190
  else:
191
+
192
  output = "Did you forget to Agree to the Terms and Conditions?"
193
+ temp_history.append((prompt,output))
194
+ return self.temp_history
195
 
196
  def update_chatlog_name(self):
197
  self.chat_log_name = f'chat_log_for_{self.unique_id}_{datetime.now().strftime("%Y-%m-%d_%H-%M-%S")}.json'