wholewhale commited on
Commit
b1c579e
·
1 Parent(s): a08bac4

format response

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def add_text(history, text):
39
 
40
  def bot(history):
41
  response = infer(history[-1][0], history)
42
- formatted_response = '\n'.join(response.split('. '))
43
  history[-1][1] = ""
44
 
45
  for character in formatted_response:
 
39
 
40
  def bot(history):
41
  response = infer(history[-1][0], history)
42
+ formatted_response = "**Bot:** \n" + ' \n'.join(response.split('. '))
43
  history[-1][1] = ""
44
 
45
  for character in formatted_response: