Corianas commited on
Commit
411fde6
1 Parent(s): 8c1d44d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -114,6 +114,7 @@ with gr.Blocks() as demo:
114
 
115
  def respond(message, chat_history):
116
  temp_str = "".join([f"{t[0]} {t[1]}" for t in chat_history])
 
117
  bot_message = gen(temp_str+message)
118
  chat_history.append((message, bot_message))
119
  time.sleep(1)
 
114
 
115
  def respond(message, chat_history):
116
  temp_str = "".join([f"{t[0]} {t[1]}" for t in chat_history])
117
+ message = message+'\n'
118
  bot_message = gen(temp_str+message)
119
  chat_history.append((message, bot_message))
120
  time.sleep(1)