Tonic commited on
Commit
4cbbd3b
·
1 Parent(s): 5d056e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- task_history = task_history + [(task_text, None)]
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):