chansung commited on
Commit
03f2d3a
1 Parent(s): 13c08a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def chat(user_input, top_p, temperature, max_gen_len):
27
 
28
  # remove the first phrase identical to user prompt
29
  bot_response = bot_response[0][len(user_input):]
30
- bot_response = bot_response.replace("\n", "<br>")
31
  # trip the last phrase
32
  try:
33
  bot_response = bot_response[:bot_response.rfind(".")]
 
27
 
28
  # remove the first phrase identical to user prompt
29
  bot_response = bot_response[0][len(user_input):]
30
+ bot_response = bot_response.replace("\n", "<br><br>")
31
  # trip the last phrase
32
  try:
33
  bot_response = bot_response[:bot_response.rfind(".")]