Spaces:
Paused
Paused
Update app.py
Browse files
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)
|