Update app.py
Browse files
app.py
CHANGED
@@ -154,16 +154,10 @@ 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 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
""","10 minutes has been elapsed. Barry died due to not getting treatment!"))
|
167 |
return temp_history
|
168 |
|
169 |
self.context += """
|
|
|
154 |
self.isFirstRun = False
|
155 |
firstmsg = prompt
|
156 |
|
157 |
+
if (current_time - self.start_time) > timedelta (seconds = 30):
|
158 |
|
159 |
temp_history = []
|
160 |
+
temp_history.append(("\n" * 6,"10 minutes has been elapsed. Barry died due to not getting treatment!"))
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
return temp_history
|
162 |
|
163 |
self.context += """
|