ECUiVADE commited on
Commit
c486583
1 Parent(s): 3c4dec3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
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 (minutes = 2):
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 += """