Update app.py
Browse files
app.py
CHANGED
@@ -154,10 +154,17 @@ class ChatbotAPP:
|
|
154 |
self.isFirstRun = False
|
155 |
firstmsg = prompt
|
156 |
|
157 |
-
if (current_time - self.start_time) > timedelta (
|
158 |
|
159 |
temp_history = []
|
160 |
-
temp_history.append(("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
return temp_history
|
162 |
|
163 |
self.context += """
|
|
|
154 |
self.isFirstRun = False
|
155 |
firstmsg = prompt
|
156 |
|
157 |
+
if (current_time - self.start_time) > timedelta (minutes = 2):
|
158 |
|
159 |
temp_history = []
|
160 |
+
temp_history.append(("""
|
161 |
+
.
|
162 |
+
.
|
163 |
+
.
|
164 |
+
.
|
165 |
+
.
|
166 |
+
|
167 |
+
""","10 minutes has been elapsed. Barry died due to not getting treatment!"))
|
168 |
return temp_history
|
169 |
|
170 |
self.context += """
|