Update app.py
Browse files
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 |
-
|
193 |
-
return self.
|
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'
|