Update app.py
Browse files
app.py
CHANGED
@@ -187,7 +187,7 @@ def add_text(history, task_history, text) -> tuple:
|
|
187 |
if len(text) >= 2 and text[-1] in PUNCTUATION and text[-2] not in PUNCTUATION:
|
188 |
task_text = text[:-1]
|
189 |
history = history + [(_parse_text(text), None)]
|
190 |
-
|
191 |
return history, task_history, ""
|
192 |
|
193 |
def add_file(history, task_history, file):
|
|
|
187 |
if len(text) >= 2 and text[-1] in PUNCTUATION and text[-2] not in PUNCTUATION:
|
188 |
task_text = text[:-1]
|
189 |
history = history + [(_parse_text(text), None)]
|
190 |
+
task_history = task_history + [(task_text, None)]
|
191 |
return history, task_history, ""
|
192 |
|
193 |
def add_file(history, task_history, file):
|