Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ with gr.Blocks() as demo:
|
|
150 |
history[-1][1] = history[-1][1][:-4]
|
151 |
yield history
|
152 |
|
153 |
-
print('== Record
|
154 |
|
155 |
msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
|
156 |
fn=bot,
|
|
|
150 |
history[-1][1] = history[-1][1][:-4]
|
151 |
yield history
|
152 |
|
153 |
+
print('== Record ==\nQuery: {query}\nResponse: {response}'.format(query=repr(message), response=repr(history[-1][1])))
|
154 |
|
155 |
msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
|
156 |
fn=bot,
|