Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ class ChatbotAPP:
|
|
55 |
self.unique_id = unique_id # Unique identifier for the chat session
|
56 |
self.chat_history = [] # List to store chat history for the current session
|
57 |
self.chat_log_history = [] # List to store chat logs for uploading
|
58 |
-
self.
|
59 |
self.initContext = initContext # Initial context for the chat session
|
60 |
self.context = "" # Current context for the chat session
|
61 |
self.agreed = False # Flag to check if the user agreed to terms and conditions
|
|
|
55 |
self.unique_id = unique_id # Unique identifier for the chat session
|
56 |
self.chat_history = [] # List to store chat history for the current session
|
57 |
self.chat_log_history = [] # List to store chat logs for uploading
|
58 |
+
self.isFirstRun = True # Flag to check if it's the first run of the chat session
|
59 |
self.initContext = initContext # Initial context for the chat session
|
60 |
self.context = "" # Current context for the chat session
|
61 |
self.agreed = False # Flag to check if the user agreed to terms and conditions
|