Spaces:
Runtime error
Runtime error
Commit
·
1342064
1
Parent(s):
cce1770
add heart beat
Browse files
app.py
CHANGED
@@ -1502,9 +1502,9 @@ def Text2Sound_HMI():
|
|
1502 |
# return None
|
1503 |
|
1504 |
def UpdateChatbot(Running_history):
|
1505 |
-
|
1506 |
-
|
1507 |
-
|
1508 |
|
1509 |
global last_answer
|
1510 |
last_answer = ""
|
|
|
1502 |
# return None
|
1503 |
|
1504 |
def UpdateChatbot(Running_history):
|
1505 |
+
timestr = time.strftime("%Y%m%d-%H%M%S")
|
1506 |
+
Running_history = Running_history + [(None, timestr)]
|
1507 |
+
yield Running_history
|
1508 |
|
1509 |
global last_answer
|
1510 |
last_answer = ""
|