Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -312,12 +312,9 @@ def bot(history, motion_uploaded, data_stored, method):
|
|
312 |
history[-1][1] = ""
|
313 |
for character in response:
|
314 |
history[-1][1] += character
|
315 |
-
|
316 |
-
time.sleep(0.02)
|
317 |
-
yield history, motion_uploaded, data_stored
|
318 |
-
continue
|
319 |
yield history, motion_uploaded, data_stored
|
320 |
-
|
321 |
def bot_example(history, responses):
|
322 |
history = history + responses
|
323 |
return history
|
|
|
312 |
history[-1][1] = ""
|
313 |
for character in response:
|
314 |
history[-1][1] += character
|
315 |
+
time.sleep(0.02)
|
|
|
|
|
|
|
316 |
yield history, motion_uploaded, data_stored
|
317 |
+
|
318 |
def bot_example(history, responses):
|
319 |
history = history + responses
|
320 |
return history
|