Spaces:
Sleeping
Sleeping
jonathanjordan21
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -51,10 +51,10 @@ def respond(
|
|
51 |
):
|
52 |
global codes_emb
|
53 |
|
54 |
-
|
|
|
55 |
|
56 |
-
#
|
57 |
-
pattern = r'\b([A-Z]{1,2})\s?(\d{4})\s?([A-Z]{3})\b'
|
58 |
pattern = r'\b([A-Z]{1,2})\s?(\d{4})\s?([A-Z]{1,3})\b'
|
59 |
|
60 |
matches = re.findall(pattern, message)
|
|
|
51 |
):
|
52 |
global codes_emb
|
53 |
|
54 |
+
for his in history:
|
55 |
+
message += "\n" + his[0]
|
56 |
|
57 |
+
# pattern = r'\b([A-Z]{1,2})\s?(\d{4})\s?([A-Z]{3})\b'
|
|
|
58 |
pattern = r'\b([A-Z]{1,2})\s?(\d{4})\s?([A-Z]{1,3})\b'
|
59 |
|
60 |
matches = re.findall(pattern, message)
|