Spaces:
Runtime error
Runtime error
Commit
·
dc273e2
1
Parent(s):
fabfa72
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks() as demo:
|
|
39 |
messages=chat_history
|
40 |
)
|
41 |
bot_message = str(bot_message.last) # Get the last response
|
42 |
-
chat_history.append(bot_message) # Append the bot's message to the chat history
|
43 |
time.sleep(2)
|
44 |
return "", chat_history
|
45 |
|
|
|
39 |
messages=chat_history
|
40 |
)
|
41 |
bot_message = str(bot_message.last) # Get the last response
|
42 |
+
# chat_history.append(bot_message) # Append the bot's message to the chat history
|
43 |
time.sleep(2)
|
44 |
return "", chat_history
|
45 |
|