Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def respond(
|
|
| 51 |
):
|
| 52 |
global codes_emb
|
| 53 |
|
| 54 |
-
if history[-1][-1][21:24] == "033":
|
| 55 |
list_his = ""
|
| 56 |
for his in history[::-1][1:]:
|
| 57 |
if his[-1][21:24] != "033":
|
|
|
|
| 51 |
):
|
| 52 |
global codes_emb
|
| 53 |
|
| 54 |
+
if history and history[-1][-1][21:24] == "033":
|
| 55 |
list_his = ""
|
| 56 |
for his in history[::-1][1:]:
|
| 57 |
if his[-1][21:24] != "033":
|